mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: update nav thumb on setIndex call (thx @barisusakli)
This commit is contained in:
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user