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.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js
index fb4bdc71..ba33b0aa 100644
--- a/web/share/js/index/main.js
+++ b/web/share/js/index/main.js
@@ -20,6 +20,9 @@
*****************************************************************************/
+"use strict";
+
+
import {tools, $} from "../tools.js";
import {checkBrowser} from "../bb.js";
import {wm, initWindowManager} from "../wm.js";
@@ -78,7 +81,7 @@ function __loadKvmdInfo() {
if (info.meta && info.meta.server && info.meta.server.host) {
$("kvmd-meta-server-host").innerHTML = info.meta.server.host;
- document.title = "Pi-KVM Index: " + info.meta.server.host;
+ document.title = `Pi-KVM Index: ${info.meta.server.host}`;
} else {
$("kvmd-meta-server-host").innerHTML = "";
document.title = "Pi-KVM Index";