commento.js: confirm before deleting
This commit is contained in:
parent
ee7875cc1e
commit
c2bda4abc6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user