mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 01:28:31 +02:00
hide nav if only one post, show after reply
hide after purge if only one post left
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user