Skip to content

Node.js based forum software built for the modern web

fix: update nav thumb on setIndex call (thx @barisusakli)

Julian Lam664bc5f54de7
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index 2fe68c1d2b..0b55e8ee4b 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -446,6 +446,7 @@ define('navigator', ['forum/pagination', 'components', 'hooks', 'alerts'], funct
navigator.setIndex = (newIndex) => {
index = newIndex + 1;
navigator.updateTextAndProgressBar();
+ setThumbToIndex(index);
};
navigator.updateTextAndProgressBar = function () {