revert mobile char panel autoclose

1fe8d96ab28bfc779840e74eff818e1cc86d14e6

RossAscends <rossascendshamma@gmail.com>

1 files changed, +0 -9Showing whitespace changes
public/script.js+0 -9
@@ -812,15 +812,6 @@ export async function selectCharacterById(id, { switchMenu = true } = {}) {
812812 await unshallowCharacter(this_chid);
813813 select_selected_character(this_chid, { switchMenu });
814814 }
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- }
824815}
825816
826817function getBackBlock() {