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

This commit is contained in:
Julian Lam
2022-09-19 13:57:25 -04:00
parent aeb94c32b9
commit 664bc5f54d

View File

@@ -446,6 +446,7 @@ define('navigator', ['forum/pagination', 'components', 'hooks', 'alerts'], funct
navigator.setIndex = (newIndex) => { navigator.setIndex = (newIndex) => {
index = newIndex + 1; index = newIndex + 1;
navigator.updateTextAndProgressBar(); navigator.updateTextAndProgressBar();
setThumbToIndex(index);
}; };
navigator.updateTextAndProgressBar = function () { navigator.updateTextAndProgressBar = function () {