From f8bd0eca6a92618fc38d6db5c26114111d2df37f Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 24 Nov 2018 07:49:35 +0300 Subject: kvm: link to index --- web/js/ui.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/js') 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; -- cgit v1.2.3