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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/ui.js b/web/js/ui.js
index ec16eef8..0c5d5888 100644
--- a/web/js/ui.js
+++ b/web/js/ui.js
@@ -283,7 +283,7 @@ function Ui() {
}
el_window.setAttribute("data-centered", "");
- tools.setOnClick(el_window, () => __raiseWindow(el_window));
+ el_window.onclick = el_window.ontouchend = () => __raiseWindow(el_window);
el_grab.onmousedown = startMoving;
el_grab.ontouchstart = startMoving;