summaryrefslogtreecommitdiff
path: root/web/js/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js/ui.js')
-rw-r--r--web/js/ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/ui.js b/web/js/ui.js
index 754e80b0..ff19cf25 100644
--- a/web/js/ui.js
+++ b/web/js/ui.js
@@ -155,7 +155,7 @@ function Ui() {
var all_hidden = true;
__menu_items.forEach(function(el_item) {
- var el_menu = el_item.parentElement.querySelector(".menu-dropdown-content");
+ var el_menu = el_item.parentElement.querySelector(".menu-item-content");
if (el_item === el_a && window.getComputedStyle(el_menu, null).visibility === "hidden") {
el_item.focus();
el_item.classList.add("menu-item-selected");
@@ -184,7 +184,7 @@ function Ui() {
var __closeAllMenues = function() {
document.onkeyup = null;
__menu_items.forEach(function(el_item) {
- var el_menu = el_item.parentElement.querySelector(".menu-dropdown-content");
+ var el_menu = el_item.parentElement.querySelector(".menu-item-content");
el_item.classList.remove("menu-item-selected");
el_menu.style.visibility = "hidden";
});