mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-26 17:08:54 +01:00
commit
523131de79
@ -264,7 +264,7 @@ function shiftOrConfirm(e, prompt, fn) {
|
||||
confirm(
|
||||
'<small>Tip: To skip this dialog, use shift-click or disable the "Confirm dangerous actions" setting in the Settings tab.</small>',
|
||||
prompt,
|
||||
fn
|
||||
() => { fn(e) }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -918,9 +918,7 @@ function confirm(msg, title, fn) {
|
||||
animateFromElement: false,
|
||||
content: msg,
|
||||
buttons: {
|
||||
yes: () => {
|
||||
fn(e)
|
||||
},
|
||||
yes: fn,
|
||||
cancel: () => {},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user