mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-07-24 07:37:05 +08:00
remove hide method in favor of super class's close method
This commit is contained in:
parent
5110a5695b
commit
68edf7bc2a
@ -1276,13 +1276,9 @@ class ManagerMenuDialog extends ComfyDialog {
|
||||
this.element.style.display = "block";
|
||||
}
|
||||
|
||||
hide() {
|
||||
this.element.style.display = "none";
|
||||
}
|
||||
|
||||
toggleVisibility() {
|
||||
if(this.isVisible) {
|
||||
this.hide();
|
||||
this.close();
|
||||
} else {
|
||||
this.show();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user