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.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/js/ui.js b/web/js/ui.js
index 2b41e0b1..07de4e85 100644
--- a/web/js/ui.js
+++ b/web/js/ui.js
@@ -32,6 +32,11 @@ function Ui() {
}
});
+ var el_menu_logo = $("menu-logo");
+ if (el_menu_logo) {
+ el_menu_logo.onclick = () => window.history.back();
+ }
+
window.onmouseup = __globalMouseButtonHandler;
window.ontouchend = __globalMouseButtonHandler;