add no replies class to navigator

isekai-main
Barış Soner Uşaklı 2 years ago
parent 82d377028f
commit 8cc19fac6c

@ -440,7 +440,7 @@ define('navigator', [
count = value;
navigator.updateTextAndProgressBar();
setThumbToIndex(index);
toggle(count > 1);
toggle(count > 0);
};
navigator.show = function () {
@ -464,6 +464,7 @@ define('navigator', [
}
paginationBlockEl.toggleClass('ready', flag);
paginationBlockEl.toggleClass('noreplies', count <= 1);
}
navigator.delayedUpdate = function () {
@ -523,7 +524,7 @@ define('navigator', [
setThumbToIndex(index);
}
toggle(count > 1);
toggle(count > 0);
};
navigator.getIndex = () => index;

Loading…
Cancel
Save