mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
inf scroll changes
dont load main post if start > 0
This commit is contained in:
@@ -171,8 +171,8 @@ define('forum/topic', [
|
||||
|
||||
|
||||
function enableInfiniteLoadingOrPagination() {
|
||||
if(!config.usePagination) {
|
||||
infinitescroll.init(posts.loadMorePosts, components.get('post', 'index', 0).height());
|
||||
if (!config.usePagination) {
|
||||
infinitescroll.init(posts.loadMorePosts);
|
||||
} else {
|
||||
navigator.hide();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user