revert mobile char panel autoclose

1fe8d96ab28bfc779840e74eff818e1cc86d14e6

RossAscends <rossascendshamma@gmail.com>

1 files changed, +0 -9Ignore whitespace
public/script.js+0 -9
@@ -812,15 +812,6 @@ export async function selectCharacterById(id, { switchMenu = true } = {}) {
812 await unshallowCharacter(this_chid);812 await unshallowCharacter(this_chid);
813 select_selected_character(this_chid, { switchMenu });813 select_selected_character(this_chid, { switchMenu });
814 }814 }
815
816 //close open char panel if it was already open
817 //avoids opening the char panel via Welcome Screen recent chats
818 //or other means of calling this function (such as QRs with /go).
819 //there should be no cases on mobile where char panel is open and
820 //you're able to get here other than an avatar click.
821 if (isMobile() && $('#rightNavDrawerIcon').hasClass('openIcon')) {
822 $('#rightNavDrawerIcon').trigger('click');
823 }
824}815}
825816
826function getBackBlock() {817function getBackBlock() {