Skip to content

Node.js based forum software built for the modern web

closes #45

Baris Soner Usakli3c6d39ab891a
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index bfbef594cf..3df9563099 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -289,7 +289,9 @@
+ ((anonymous > 0) ? (usercount > 0 ? ' and ': '') + anonymous + ' guest' + (anonymous > 1 ? 's are': ' is') : '')
+ (anonymous === 0 ? (usercount > 1 ? ' are' : ' is') : '') + ' browsing this thread';
- document.getElementById('thread_active_users').innerHTML = active;
+ var activeEl = $('#thread_active_users');
+ if(activeEl.length)
+ activeEl.html(active);
});
socket.on('event:rep_up', function(data) {