From ff6ae0c73461972becc1a79c9ed4052872d5f929 Mon Sep 17 00:00:00 2001 From: Adrian Victor Date: Fri, 17 Jul 2026 11:26:53 -0300 Subject: [PATCH] Make open chat persistent on mobile --- js/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/app.js b/js/app.js index e0d8104..244dc67 100644 --- a/js/app.js +++ b/js/app.js @@ -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(); + // } } }