From 60c1ff7590cd90fc25b8502843935af55474b8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 9 May 2013 20:19:02 +0200 Subject: [PATCH] Fix userlist counter in case some users are selected twice --- file/js/be.bastelstu.Chat.litcoffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 8099939..3a956fe 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -546,7 +546,7 @@ Remove all users that left the chat. $(@).remove(); - $('#toggleUsers .badge').text users.length + $('#toggleUsers .badge').text $('.timsChatUser').length **initPush()** Initialize socket.io to enable nodePush.