mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
inf scroll changes
dont load main post if start > 0
This commit is contained in:
@@ -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);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user