fixes vote buttons on infinite scroll and new posts

This commit is contained in:
barisusakli
2014-07-09 16:59:34 -04:00
parent 2bd99e2d16
commit 9fbd535b79
2 changed files with 5 additions and 1 deletions

View File

@@ -351,6 +351,9 @@ SocketTopics.loadMore = function(socket, data, callback) {
},
privileges: function(next) {
privileges.topics.get(data.tid, socket.uid, next);
},
'reputation:disabled': function(next) {
next(null, parseInt(meta.config['reputation:disabled'], 10) === 1);
}
}, callback);
});