1
0

ask for confirmation before deleting sessions

This commit is contained in:
Adrian Wannenmacher 2026-03-09 21:28:03 +01:00
parent 5fbcee89ee
commit 0b539b910f
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -18,7 +18,12 @@ export default class SessionList {
m("div.actions",
m(
"button.wb-button.-slim._positioned",
{ onclick: () => onDelete(s.id, i) },
{
onclick: () => {
if (window.confirm("Wiillst den Satz wirklich löschn?"))
onDelete(s.id, i);
}
},
"löschn"
),
m(