Skip to content

Node.js based forum software built for the modern web

fix #4498

Julian Lam430adc366c18
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index 3d65f6b8a0..0d1747598c 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -131,7 +131,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.data.template.topic === true) {
if (atTop) {
threshold = 0;
} else {