Skip to content

Node.js based forum software built for the modern web

fix: make selector stricter

Barış Soner Uşaklı9f7a39c59cef
diff --git a/public/src/client/topic.js b/public/src/client/topic.js
index 571f66e4d9..a04807f36c 100644
--- a/public/src/client/topic.js
+++ b/public/src/client/topic.js
@@ -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'));