diff options
-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; } |