ask for confirmation before deleting sessions
This commit is contained in:
parent
5fbcee89ee
commit
0b539b910f
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user