forked from extern/easydiffusion
Fix confirmation dialog
By splitting the confirmation function into two halves, the closure was lost
This commit is contained in:
@ -918,9 +918,7 @@ function confirm(msg, title, fn) {
|
||||
animateFromElement: false,
|
||||
content: msg,
|
||||
buttons: {
|
||||
yes: () => {
|
||||
fn(e)
|
||||
},
|
||||
yes: fn,
|
||||
cancel: () => {},
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user