This commit is contained in:
Julian Lam
2015-12-14 14:20:52 -05:00
parent a4d8ab9d12
commit 7b49dc9061
2 changed files with 1 additions and 5 deletions

View File

@@ -189,7 +189,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
};
Chats.switchChat = function(uid, username) {
if (!$('[component="chat/messages"]').length) {
if (!$('#content [component="chat/messages"]').length) {
return ajaxify.go('chats/' + utils.slugify(username));
}