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:
parent
744d26b40a
commit
7b81b91454
@ -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>'
|
||||
|
Loading…
Reference in New Issue
Block a user