summaryrefslogtreecommitdiff
path: root/web/share/js/index/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/index/main.js')
-rw-r--r--web/share/js/index/main.js2
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;