mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed visibility check in showWindow
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user