From 650890ad830155cbe02680137de94827898c072f Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 3 Mar 2016 11:59:40 -0500 Subject: [PATCH] Revert "temp disable for #4302" This reverts commit 974fa7b253720597668ccec6eac67c962146985d. --- public/src/client/categories.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/public/src/client/categories.js b/public/src/client/categories.js index 3a17c29633..03885a4e23 100644 --- a/public/src/client/categories.js +++ b/public/src/client/categories.js @@ -14,9 +14,8 @@ define('forum/categories', ['components', 'translator'], function(components, tr categories.init = function() { app.enterRoom('categories'); - // enable once https://github.com/NodeBB/NodeBB/issues/4302 is fixed - // socket.removeListener('event:new_post', categories.onNewPost); - // socket.on('event:new_post', categories.onNewPost); + socket.removeListener('event:new_post', categories.onNewPost); + socket.on('event:new_post', categories.onNewPost); $('.category-header').tooltip({ placement: 'bottom'