mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-11 05:32:30 +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…
Reference in New Issue
Block a user