design fix

This commit is contained in:
Devaev Maxim
2018-11-21 07:31:32 +03:00
parent a9cf03582f
commit c05ed9f2d8
5 changed files with 38 additions and 20 deletions

View File

@@ -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"

View File

@@ -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) {