summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r--web/share/js/kvm/session.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index d76e75ae..5b7d9dda 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -20,6 +20,9 @@
*****************************************************************************/
+"use strict";
+
+
import {tools, $} from "../tools.js";
import {wm} from "../wm.js";
@@ -62,8 +65,8 @@ export function Session() {
${text}
`;
if (state.meta.server && state.meta.server.host) {
- $("kvmd-meta-server-host").innerHTML = "Server: " + state.meta.server.host;
- document.title = "Pi-KVM Session: " + state.meta.server.host;
+ $("kvmd-meta-server-host").innerHTML = `Server: ${state.meta.server.host}`;
+ document.title = `Pi-KVM Session: ${state.meta.server.host}`;
} else {
$("kvmd-meta-server-host").innerHTML = "";
document.title = "Pi-KVM Session";