Node.js based forum software built for the modern web
applying threshold detection only to topics
Julian Lam31e70ac5a8ef
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.jsindex 7127f1f15c..73ea9b8946 100644--- a/public/src/modules/navigator.js+++ b/public/src/modules/navigator.js@@ -119,7 +119,7 @@ define('navigator', ['forum/pagination', 'components'], function(pagination, com});// If a threshold is undefined, try to determine one based on new index- if (threshold === undefined) {+ if (threshold === undefined && ajaxify.currentPage.startsWith('topic')) {var anchorEl = components.get('post/anchor', index - 1),anchorRect = anchorEl.get(0).getBoundingClientRect();