From 7b81b914543ef99931ca4ba989c07025afa289b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 12 Feb 2012 15:33:50 +0100 Subject: [PATCH] Fixed updating of the badges. --- file/js/TimWolla.WCF.Chat.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file/js/TimWolla.WCF.Chat.coffee b/file/js/TimWolla.WCF.Chat.coffee index b61433e..a89c39d 100644 --- a/file/js/TimWolla.WCF.Chat.coffee +++ b/file/js/TimWolla.WCF.Chat.coffee @@ -316,7 +316,7 @@ consoleMock ?= $(@).remove(); - $('#toggleUsers .badge').text(users.length); + $('#toggleUsers .wcf-badge').text(users.length); ### # Inserts text into our input. # @@ -373,7 +373,7 @@ consoleMock ?= success: $.proxy((data, textStatus, jqXHR) -> $('#timsChatRoomList li').remove() $('#toggleRooms a').removeClass 'ajaxLoad' - $('#toggleRooms .badge').text(data.length); + $('#toggleRooms .wcf-badge').text(data.length); for room in data li = $ '
  • '