hide nav if only one post, show after reply

hide after purge if only one post left
This commit is contained in:
Barış Soner Uşaklı
2023-06-22 23:13:23 -04:00
parent c21d7dbc7e
commit 299f8864a2

View File

@@ -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;