summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-07-17 04:17:22 +0300
committerDevaev Maxim <[email protected]>2019-07-17 04:17:22 +0300
commitad83678eb3f735806f87ad9a43c32bdd6ffb92aa (patch)
treef9380c43c42e0d8c8d92e8714ecf81cf17523e49 /web/share/js/kvm/session.js
parent9737b926b87529698d1863025efd12e9881af744 (diff)
use strict
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";