Fix confirmation dialog

By splitting the confirmation function into two halves, the closure was lost
This commit is contained in:
JeLuF
2023-05-24 19:29:54 +02:00
parent 3d7e16cfd9
commit 3ea74af76d
2 changed files with 2 additions and 4 deletions

View File

@ -918,9 +918,7 @@ function confirm(msg, title, fn) {
animateFromElement: false,
content: msg,
buttons: {
yes: () => {
fn(e)
},
yes: fn,
cancel: () => {},
},
})