mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-14 23:22:35 +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";
|
this.element.style.display = "block";
|
||||||
}
|
}
|
||||||
|
|
||||||
hide() {
|
|
||||||
this.element.style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
toggleVisibility() {
|
toggleVisibility() {
|
||||||
if(this.isVisible) {
|
if(this.isVisible) {
|
||||||
this.hide();
|
this.close();
|
||||||
} else {
|
} else {
|
||||||
this.show();
|
this.show();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user