mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-28 22:55:39 -04:00
commento.js: confirm before deleting
This commit is contained in:
@ -1041,6 +1041,10 @@
|
||||
|
||||
|
||||
global.commentDelete = function(commentHex) {
|
||||
if (!confirm("Are you sure you want to delete this comment?")) {
|
||||
return;
|
||||
}
|
||||
|
||||
var json = {
|
||||
"commenterToken": commenterTokenGet(),
|
||||
"commentHex": commentHex,
|
||||
|
Reference in New Issue
Block a user