commento.js: confirm before deleting
This commit is contained in:
parent
ee7875cc1e
commit
c2bda4abc6
@ -1041,6 +1041,10 @@
|
|||||||
|
|
||||||
|
|
||||||
global.commentDelete = function(commentHex) {
|
global.commentDelete = function(commentHex) {
|
||||||
|
if (!confirm("Are you sure you want to delete this comment?")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var json = {
|
var json = {
|
||||||
"commenterToken": commenterTokenGet(),
|
"commenterToken": commenterTokenGet(),
|
||||||
"commentHex": commentHex,
|
"commentHex": commentHex,
|
||||||
|
Loading…
Reference in New Issue
Block a user