hide nav if only one post, show after reply

hide after purge if only one post left
isekai-main
Barış Soner Uşaklı 2 years ago
parent c21d7dbc7e
commit 299f8864a2

@ -439,6 +439,8 @@ define('navigator', [
}
count = value;
navigator.updateTextAndProgressBar();
setThumbToIndex(index);
toggle(count > 1);
};
navigator.show = function () {
@ -521,7 +523,7 @@ define('navigator', [
setThumbToIndex(index);
}
toggle(!!count);
toggle(count > 1);
};
navigator.getIndex = () => index;

Loading…
Cancel
Save