summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-01 13:13:19 +0300
committerDevaev Maxim <[email protected]>2018-12-01 13:13:19 +0300
commitf62715be13c8d67175ccda8ddfb5cf754965f109 (patch)
treeefad98251248bf0fc0c0182b467e5edb285091fe /web
parentad6a66ac8fcf7726540f750a6d83e5f80fb0cd71 (diff)
prevent focus flickering
Diffstat (limited to 'web')
-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);
});