mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
remove IS topics on category
ability to specify a container for IS, instead of always assuming $(document)
This commit is contained in:
@@ -192,7 +192,7 @@ define('forum/topic', [
|
||||
|
||||
function enableInfiniteLoadingOrPagination() {
|
||||
if (!config.usePagination) {
|
||||
infinitescroll.init(posts.loadMorePosts);
|
||||
infinitescroll.init($('[component="topic"]'), posts.loadMorePosts);
|
||||
} else {
|
||||
navigator.hide();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user