Bug 1734181 - Part 3: Always display the current history entry in the menulist, regardless of interaction state. r=jjaschke,peterv,dom-core

Differential Revision: https://phabricator.services.mozilla.com/D216827
This commit is contained in:
Adam Vandolder
2024-08-20 14:21:29 +00:00
parent 2af4205f1f
commit 9192f0cab2

View File

@@ -2519,7 +2519,9 @@ function FillHistoryMenu(event) {
entry.hasUserInteraction === false &&
// Always allow going to the first and last navigation points.
j != end - 1 &&
j != start
j != start &&
// Always display the current entry
j != index
) {
continue;
}