mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: make selector stricter
so navigator number doesn't change due to nested replies
This commit is contained in:
@@ -49,7 +49,7 @@ define('forum/topic', [
|
||||
posts.signaturesShown = {};
|
||||
}
|
||||
await posts.onTopicPageLoad(components.get('post'));
|
||||
navigator.init('[component="post"]', ajaxify.data.postcount, Topic.toTop, Topic.toBottom, Topic.navigatorCallback);
|
||||
navigator.init('[component="topic"]>[component="post"]', ajaxify.data.postcount, Topic.toTop, Topic.toBottom, Topic.navigatorCallback);
|
||||
|
||||
postTools.init(tid);
|
||||
threadTools.init(tid, $('.topic'));
|
||||
|
||||
Reference in New Issue
Block a user