Ask confirmation before deleting a toot.
This commit is contained in:
parent
8681a926dc
commit
5b69f2f094
@ -144,7 +144,7 @@ statusActionsView status currentUser =
|
||||
a
|
||||
[ class <| baseBtnClasses ++ " btn-delete"
|
||||
, href ""
|
||||
, onClickWithPreventAndStop <| DeleteStatus sourceStatus.id
|
||||
, onClickWithPreventAndStop <| AskConfirm "Are you sure you want to delete this toot?" (DeleteStatus sourceStatus.id) NoOp
|
||||
]
|
||||
[ Common.icon "trash" ]
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user