diff options
author | Devaev Maxim <[email protected]> | 2019-07-17 04:17:22 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-07-17 04:17:22 +0300 |
commit | ad83678eb3f735806f87ad9a43c32bdd6ffb92aa (patch) | |
tree | f9380c43c42e0d8c8d92e8714ecf81cf17523e49 /web/share/js/index/main.js | |
parent | 9737b926b87529698d1863025efd12e9881af744 (diff) |
use strict
Diffstat (limited to 'web/share/js/index/main.js')
-rw-r--r-- | web/share/js/index/main.js | 5 |
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"; |