mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +01:00
fix browsing users removal
This commit is contained in:
@@ -39,7 +39,7 @@ define('forum/topic/browsing', function() {
|
||||
var count = Math.max(0, parseInt(user.attr('data-count'), 10) - 1);
|
||||
user.attr('data-count', count);
|
||||
if (count <= 0) {
|
||||
user.remove();
|
||||
user.parent().remove();
|
||||
}
|
||||
} else {
|
||||
increaseUserCount(-1);
|
||||
|
||||
Reference in New Issue
Block a user