This commit is contained in:
barisusakli
2014-07-22 12:56:34 -04:00
parent 0e241456e4
commit 89bb11a58c
5 changed files with 57 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
for(var x = 0; x<chats.length; ++x) {
userObj = chats[x];
$('<li />')
$('<li class="' + (userObj.unread ? 'unread' : '') + '"/>')
.attr('data-uid', userObj.uid)
.html('<a href="javascript:app.openChat(\'' +
userObj.username +