forked from MarseyWorld/MarseyWorld
fix header chat count during orgy
parent
9a877378c9
commit
ab46b7992b
|
@ -237,8 +237,7 @@ ta.addEventListener("keydown", function(e) {
|
|||
|
||||
socket.on('online', function(data){
|
||||
document.getElementsByClassName('board-chat-count')[0].innerHTML = data[0].length
|
||||
if (location.pathname == '/chat')
|
||||
document.getElementById('chat-count-header-bar').innerHTML = data[0].length
|
||||
document.getElementById('chat-count-header-bar').innerHTML = data[0].length
|
||||
const admin_level = parseInt(document.getElementById('admin_level').value)
|
||||
let online = ''
|
||||
let online2 = '<b>Users Online</b>'
|
||||
|
|
Loading…
Reference in New Issue