diff options
author | Devaev Maxim <[email protected]> | 2018-11-24 07:49:35 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-24 07:49:35 +0300 |
commit | f8bd0eca6a92618fc38d6db5c26114111d2df37f (patch) | |
tree | 1036bf0d33bcc7dcaad549590b882d51dc8b215f /web/js/ui.js | |
parent | 26863d5bfd1868c84c4bb299dc7c2734d5f2001f (diff) |
kvm: link to index
Diffstat (limited to 'web/js/ui.js')
-rw-r--r-- | web/js/ui.js | 5 |
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; |