mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 07:45:01 +02:00
Fix confirmation dialog
By splitting the confirmation function into two halves, the closure was lost
This commit is contained in:
@ -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) }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user