summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-09 13:39:15 +0300
committerDevaev Maxim <[email protected]>2018-11-09 22:42:32 +0300
commitd18c82da486b52e914b8f02f7fd00e911b092117 (patch)
tree56762d68ce7bc5103a4ec64aa566c51f76342a8c
parentd97b6639e07a48cac37858d82850bc4357a5cd30 (diff)
fixed unclickable links
-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;