mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
handled in events.js
This commit is contained in:
@@ -26,7 +26,6 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
|
|||||||
events.removeListeners();
|
events.removeListeners();
|
||||||
|
|
||||||
socket.removeListener('event:new_post', onNewPost);
|
socket.removeListener('event:new_post', onNewPost);
|
||||||
socket.removeListener('event:new_notification', onNewNotification);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user