forked from extern/easydiffusion
commit
523131de79
@ -264,7 +264,7 @@ function shiftOrConfirm(e, prompt, fn) {
|
|||||||
confirm(
|
confirm(
|
||||||
'<small>Tip: To skip this dialog, use shift-click or disable the "Confirm dangerous actions" setting in the Settings tab.</small>',
|
'<small>Tip: To skip this dialog, use shift-click or disable the "Confirm dangerous actions" setting in the Settings tab.</small>',
|
||||||
prompt,
|
prompt,
|
||||||
fn
|
() => { fn(e) }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -918,9 +918,7 @@ function confirm(msg, title, fn) {
|
|||||||
animateFromElement: false,
|
animateFromElement: false,
|
||||||
content: msg,
|
content: msg,
|
||||||
buttons: {
|
buttons: {
|
||||||
yes: () => {
|
yes: fn,
|
||||||
fn(e)
|
|
||||||
},
|
|
||||||
cancel: () => {},
|
cancel: () => {},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user