| 812 | 812 | await unshallowCharacter(this_chid); |
| 813 | 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 | } |
| 825 | 816 | |
| 826 | 817 | function getBackBlock() { |