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) }