From 23378403f3036be5aa77c7e5bffec704283d70b3 Mon Sep 17 00:00:00 2001 From: genuineparts Date: Mon, 16 Jun 2025 08:32:17 +0200 Subject: [PATCH] Added window reload on leave --- modules/chat/chat.output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/chat/chat.output.php b/modules/chat/chat.output.php index 3eaa83e..f23010b 100644 --- a/modules/chat/chat.output.php +++ b/modules/chat/chat.output.php @@ -651,7 +651,7 @@ function inmeta2(){ } socket.onclose = function(){ console.log('CLOSE'); - $('#chatlog').append('Disconnected!'); + $('#chatlog').append('Disconnected!'); window.onbeforeunload = null; if(as!=false){ $('#chatlog').slimscroll({ scrollBy : '5000px' });