mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed visibility check in showWindow
This commit is contained in:
parent
8fdc79d679
commit
3a2ffcfd5c
@ -229,7 +229,7 @@ function __WindowManager() {
|
|||||||
|
|
||||||
self.showWindow = function(el_window, activate=true, center=false) {
|
self.showWindow = function(el_window, activate=true, center=false) {
|
||||||
let showed = false;
|
let showed = false;
|
||||||
if (el_window.style.visibility === "hidden") {
|
if (!self.isWindowVisible(el_window)) {
|
||||||
center = true;
|
center = true;
|
||||||
showed = true;
|
showed = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user