diff options
author | Devaev Maxim <[email protected]> | 2021-04-17 14:41:02 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-04-17 14:41:02 +0300 |
commit | 3a2ffcfd5c0591160333d1b347880f09eb2ee056 (patch) | |
tree | 74c51603b489e51696014d7efde8f43b8dd1b64b | |
parent | 8fdc79d67995913250b1aa27f86120da4bb87480 (diff) |
fixed visibility check in showWindow
-rw-r--r-- | web/share/js/wm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/wm.js b/web/share/js/wm.js index 4b3a78a3..7e4105da 100644 --- a/web/share/js/wm.js +++ b/web/share/js/wm.js @@ -229,7 +229,7 @@ function __WindowManager() { self.showWindow = function(el_window, activate=true, center=false) { let showed = false; - if (el_window.style.visibility === "hidden") { + if (!self.isWindowVisible(el_window)) { center = true; showed = true; } |