diff options
author | Maxim Devaev <[email protected]> | 2021-07-29 02:11:44 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-07-29 02:11:44 +0300 |
commit | 02335734ceafa25c660110e1f8059ff60bcb6d84 (patch) | |
tree | 69e07e3031ae365fb2a509554f8a411a5d44d607 /web/share/js/index | |
parent | 33c34bd4efbb675ec0c700454c655575cffe26e9 (diff) |
refactoring
Diffstat (limited to 'web/share/js/index')
-rw-r--r-- | web/share/js/index/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js index a019887e..535959d9 100644 --- a/web/share/js/index/main.js +++ b/web/share/js/index/main.js @@ -86,7 +86,7 @@ function __loadKvmdInfo() { } $("apps").innerHTML += __makeApp("logout-button", "#", "share/svg/logout.svg", "Logout"); - tools.setOnClick($("logout-button"), __logout); + tools.el.setOnClick($("logout-button"), __logout); if (info.meta !== null && info.meta.server && info.meta.server.host) { $("kvmd-meta-server-host").innerHTML = info.meta.server.host; |