Make open chat persistent on mobile

This commit is contained in:
天クマ 2026-07-17 11:26:53 -03:00
commit ff6ae0c734

View file

@ -274,7 +274,7 @@ async function closeActiveChat(isPopState = false) {
setTimeout(() => {
if (!activeChatState) {
elements.appContainer.classList.add('no-active-chat');
ui.toggleChatState(false);
// ui.toggleChatState(false);
}
}, 350);
} else {
@ -282,9 +282,9 @@ async function closeActiveChat(isPopState = false) {
}
if (!isPopState) {
if (window.location.hash.startsWith('#chat-')) {
history.back();
}
// if (window.location.hash.startsWith('#chat-')) {
// history.back();
// }
}
}