Skip to content

Node.js based forum software built for the modern web

dont add more than 10

barisusakli072db27a3c95
diff --git a/public/src/forum/topic/browsing.js b/public/src/forum/topic/browsing.js
index 53c9ae3046..b7554990f1 100644
--- a/public/src/forum/topic/browsing.js
+++ b/public/src/forum/topic/browsing.js
@@ -20,7 +20,7 @@ define('forum/topic/browsing', function() {
Browsing.onUserEnter = function(data) {
var activeEl = $('.thread_active_users');
var user = activeEl.find('a[data-uid="' + data.uid + '"]');
- if (!user.length) {
+ if (!user.length && activeEl.children().length < 10) {
addUserIcon(data);
} else {
user.attr('data-count', parseInt(user.attr('data-count'), 10) + 1);