From 34730caf976657821d3bfc72d8af3f2a8cf57c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 5 May 2023 14:25:02 -0400 Subject: [PATCH] fix: selector for nav scroll harmony doesn't have topic-header, they all have topic-main-buttons --- public/src/modules/navigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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