mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
removed toggleNew
This commit is contained in:
@@ -90,16 +90,6 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
|
||||
var modal = module.getModal(data.uid);
|
||||
app.updateUserStatus(modal.find('[component="user/status"]'), data.status);
|
||||
});
|
||||
|
||||
$(window).on('action:taskbar.toggleNew', function(ev, uuid) {
|
||||
var modal = $('.chat-modal[uuid="' + uuid + '"]'),
|
||||
touid = modal.attr('touid');
|
||||
|
||||
socket.emit('modules.chats.toggleNew', {
|
||||
uid: touid,
|
||||
state: false
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
module.loadChatsDropdown = function(chatsListEl) {
|
||||
|
||||
Reference in New Issue
Block a user