fix: make selector stricter

so navigator number doesn't change due to nested replies
isekai-main
Barış Soner Uşaklı 1 year ago
parent 887dfd7da7
commit 9f7a39c59c

@ -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'));

Loading…
Cancel
Save