summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/js/wm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/wm.js b/web/js/wm.js
index 002009c2..e4f0a042 100644
--- a/web/js/wm.js
+++ b/web/js/wm.js
@@ -16,7 +16,7 @@ function WindowManager() {
Array.prototype.forEach.call($$("menu-item"), function(el_item) {
el_item.parentElement.querySelector(".menu-item-content").setAttribute("tabindex", "-1");
- tools.setOnClick(el_item, () => __toggleMenu(el_item));
+ tools.setOnDown(el_item, () => __toggleMenu(el_item));
__menu_items.push(el_item);
});