From 1b4d46e4e5c8a4245cd3398272854b0b43f4ed36 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 24 Aug 2023 04:33:15 +0300 Subject: [PATCH] fix last commit --- files/assets/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 2f7dd7476..29130adc0 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -253,7 +253,7 @@ socket.on('online', function(data){ } const online_el = document.getElementById('online') - if (online) { + if (online_el) { online_el.innerHTML = online bs_trigger(online_el) }