mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
removed commented out stuff removed topics.enter
This commit is contained in:
@@ -70,16 +70,6 @@ define('forum/topic', [
|
||||
|
||||
$(window).on('scroll', updateTopicTitle);
|
||||
|
||||
|
||||
if (app.user.uid) {
|
||||
socket.emit('topics.enter', tid, function(err, data) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
browsing.onUpdateUsersInRoom(data);
|
||||
});
|
||||
}
|
||||
|
||||
handleTopicSearch();
|
||||
|
||||
$(window).trigger('action:topic.loaded');
|
||||
|
||||
Reference in New Issue
Block a user