summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/web/js/ui.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/web/js/ui.js b/kvmd/web/js/ui.js
index c369a675..f97b237b 100644
--- a/kvmd/web/js/ui.js
+++ b/kvmd/web/js/ui.js
@@ -144,8 +144,7 @@ function Ui(hid) {
for (var el_item = event.target; el_item && el_item !== document; el_item = el_item.parentNode) {
if (el_item.hasAttribute("data-force-hide-menu")) {
break;
- }
- else if (el_item.hasAttribute("data-dont-hide-menu")) {
+ } else if (el_item.hasAttribute("data-dont-hide-menu")) {
return;
}
}