Skip to content

Node.js based forum software built for the modern web

fix: selector for nav scroll

Barış Soner Uşaklı34730caf9766
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index d85a51491c..1953e4d009 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -662,7 +662,7 @@ define('navigator', [
const postHeight = scrollTo.outerHeight(true);
const navbarHeight = components.get('navbar').outerHeight(true) || 0;
- const topicHeaderHeight = $('.topic-header').outerHeight(true) || 0;
+ const topicHeaderHeight = $('.topic-main-buttons').outerHeight(true) || 0;
const viewportHeight = $(window).height();
// Temporarily disable navigator update on scroll