1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fixed updating of the badges.

This commit is contained in:
Tim Düsterhus 2012-02-12 15:33:50 +01:00
parent 744d26b40a
commit 7b81b91454

View File

@ -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 = $ '<li></li>'