mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-27 09:49:52 +01:00
no taskbar invocation on chats page, fixes #6227
This commit is contained in:
@@ -61,7 +61,7 @@ define('chat', [
|
||||
if (modal.is(':visible')) {
|
||||
taskbar.updateActive(modal.attr('UUID'));
|
||||
ChatsMessages.scrollToBottom(modal.find('.chat-content'));
|
||||
} else {
|
||||
} else if (!ajaxify.data.template.chats) {
|
||||
module.toggleNew(modal.attr('UUID'), true, true);
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ define('chat', [
|
||||
roomId: data.roomId,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
} else if (!ajaxify.data.template.chats) {
|
||||
socket.emit('modules.chats.loadRoom', {
|
||||
roomId: data.roomId,
|
||||
}, function (err, roomData) {
|
||||
|
||||
Reference in New Issue
Block a user