From 072db27a3c950b72e276f4171507132fff21f786 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 6 Sep 2014 01:05:20 -0400 Subject: [PATCH] dont add more than 10 --- public/src/forum/topic/browsing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);