summaryrefslogtreecommitdiff
path: root/web/js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-21 07:31:32 +0300
committerDevaev Maxim <[email protected]>2018-11-21 07:31:32 +0300
commitc05ed9f2d82c85a6b115809242acd921855c71b8 (patch)
tree88dedd52d4f2241740e2e0d6558522b970dd1ab5 /web/js
parenta9cf03582fe0c037d34be6309108950f1e7d8bad (diff)
design fix
Diffstat (limited to 'web/js')
-rw-r--r--web/js/kvm/session.js2
-rw-r--r--web/js/ui.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/web/js/kvm/session.js b/web/js/kvm/session.js
index f2906110..19166a9a 100644
--- a/web/js/kvm/session.js
+++ b/web/js/kvm/session.js
@@ -28,7 +28,7 @@ function Session() {
var info = JSON.parse(http.responseText).result;
if (info.meta) {
$("about-meta").innerHTML = (
- "// The server metadata.\n"
+ "// Pi-KVM metadata.\n"
+ "// You can get this json using handle /kvmd/info.\n"
+ "// In the standard configuration this data\n"
+ "// is specified in the file /etc/kvmd/meta.yaml.\n\n"
diff --git a/web/js/ui.js b/web/js/ui.js
index ff19cf25..2b41e0b1 100644
--- a/web/js/ui.js
+++ b/web/js/ui.js
@@ -292,7 +292,9 @@ function Ui() {
max_z_index = z_index;
}
});
- __raiseWindow(last_el_window);
+ if (last_el_window) {
+ __raiseWindow(last_el_window);
+ }
};
var __raiseWindow = function(el_window) {