summaryrefslogtreecommitdiff
path: root/web/js/ui.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/ui.js
parenta9cf03582fe0c037d34be6309108950f1e7d8bad (diff)
design fix
Diffstat (limited to 'web/js/ui.js')
-rw-r--r--web/js/ui.js4
1 files changed, 3 insertions, 1 deletions
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) {