mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
use strict
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user