Clean Up
This commit is contained in:
parent
bc1d53d6b0
commit
57cffab1e8
1 changed files with 2 additions and 6 deletions
|
|
@ -500,12 +500,8 @@ window.addEventListener("focus", async () => {
|
|||
setTimeout(() => {
|
||||
if (window.__state.chatSock) connected(window.__state.chatSock);
|
||||
}, 16);
|
||||
// if (window.location.pathname === "/app/chat") {
|
||||
// if (window.__state.chatSock?.id) {
|
||||
await windowStateVisable();
|
||||
// }
|
||||
toggle = true;
|
||||
// }
|
||||
});
|
||||
|
||||
window.addEventListener("blur", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue