Commit e4d17fb9b81cb2fa3a77cef9cd10997828c7c97c

Authored by Victor Costa
1 parent ebb85ad4

Fix friends counter in chat

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
public/javascripts/chat.js
... ... @@ -165,9 +165,8 @@ jQuery(function($) {
165 165 },
166 166  
167 167 update_chat_title: function () {
168   - var friends_online = $('#buddy-list .buddy-list li:visible').length;
  168 + var friends_online = $('#buddy-list .buddy-list li.chat').length;
169 169 $('#friends-online').text(friends_online);
170   - document.title = $('#title-bar .title').text();
171 170 },
172 171  
173 172 on_connect: function (status) {
... ...