From 2b15f466383118af280e7f48f3cf458c4c7f9beb Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 8 Jul 2014 10:05:59 -0400 Subject: [PATCH] removed console.log, fixing language key reference error #1788 --- public/src/forum/chats.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/src/forum/chats.js b/public/src/forum/chats.js index 9449f50374..6a9d998ca5 100644 --- a/public/src/forum/chats.js +++ b/public/src/forum/chats.js @@ -77,7 +77,7 @@ define('forum/chats', ['string', 'sounds'], function(S, sounds) { }); } else { $('.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() { - console.log(Chats.getRecipientUid()); $('.chats-list li').removeClass('bg-primary'); $('.chats-list li[data-uid="' + Chats.getRecipientUid() + '"]').addClass('bg-primary'); };