From 23ff97ba95e75f25018bafd076e4f76cbbb598f9 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 13 Oct 2020 15:35:48 +0300 Subject: fixed menu position --- web/share/js/wm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/share/js/wm.js') diff --git a/web/share/js/wm.js b/web/share/js/wm.js index fb4b30a1..d9b0ee94 100644 --- a/web/share/js/wm.js +++ b/web/share/js/wm.js @@ -241,7 +241,6 @@ function __WindowManager() { } else { el_button.classList.remove("menu-button-pressed"); el_menu.style.visibility = "hidden"; - el_menu.style.removeProperty("right"); } } @@ -266,6 +265,7 @@ function __WindowManager() { let el_menu = el_button.parentElement.querySelector(".menu"); el_button.classList.remove("menu-button-pressed"); el_menu.style.visibility = "hidden"; + el_menu.style.removeProperty("right"); } }; -- cgit v1.2.3