inf scroll changes

dont load main post if start > 0
This commit is contained in:
barisusakli
2015-09-24 21:14:34 -04:00
parent 137f2097db
commit c617a3f008
9 changed files with 127 additions and 153 deletions

View File

@@ -124,10 +124,6 @@ topicsController.get = function(req, res, callback) {
topicData.pageCount = pageCount;
topicData.currentPage = page;
if (page > 1) {
topicData.posts.splice(0, 1);
}
plugins.fireHook('filter:controllers.topic.get', topicData, next);
});
},