fix:the modal for selecting an image can not be closed #180

This commit is contained in:
yolain
2024-05-21 15:54:02 +08:00
parent 33566e8474
commit d8af918e7d
+1 -1
View File
@@ -47,7 +47,7 @@ class chooserImageDialog extends ComfyDialog {
createButtons() {
const btns = super.createButtons();
btns[0].onclick = _ => {
cancelButtonPressed()
if (FlowState.running()) { send_cancel();}
super.close()
}
btns.unshift($el('button', {