diff options
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/kvm/session.js | 2 | ||||
-rw-r--r-- | web/js/ui.js | 4 |
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) { |