mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fixes #3935
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user