doc: fix issue with keydown/keyup being ignored
Ensure initial search menu visibility is properly set so that key events don't get trapped preventing arrow key navigation on the document. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
7075c69419
commit
b3776ca97c
1 changed files with 1 additions and 0 deletions
1
doc/_templates/searchbox.html
vendored
1
doc/_templates/searchbox.html
vendored
|
@ -57,6 +57,7 @@
|
|||
.getElementById("search-se-settings-icon")
|
||||
.setAttribute("aria-expanded", visible ? "true" : "false");
|
||||
};
|
||||
setSearchEngineSettingsMenuVisibility(false);
|
||||
|
||||
window.toggleSearchEngineSettingsMenu = function () {
|
||||
isVisible = searchMenu.style.display === "block";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue