removed console.log, fixing language key reference error #1788

This commit is contained in:
Julian Lam
2014-07-08 10:05:59 -04:00
parent 95102f7e74
commit 2b15f46638

View File

@@ -77,7 +77,7 @@ define('forum/chats', ['string', 'sounds'], function(S, sounds) {
}); });
} else { } else {
$('.chats-list li[data-uid="' + data.withUid + '"]').addClass('unread'); $('.chats-list li[data-uid="' + data.withUid + '"]').addClass('unread');
app.alternatingTitle('[[modules:chat.user_has_messaged_you, ' + data.message.username + ']]'); app.alternatingTitle('[[modules:chat.user_has_messaged_you, ' + data.message.fromUser.username + ']]');
} }
}); });
@@ -132,7 +132,6 @@ define('forum/chats', ['string', 'sounds'], function(S, sounds) {
}; };
Chats.setActive = function() { Chats.setActive = function() {
console.log(Chats.getRecipientUid());
$('.chats-list li').removeClass('bg-primary'); $('.chats-list li').removeClass('bg-primary');
$('.chats-list li[data-uid="' + Chats.getRecipientUid() + '"]').addClass('bg-primary'); $('.chats-list li[data-uid="' + Chats.getRecipientUid() + '"]').addClass('bg-primary');
}; };