From 4212e2e8a984a06932b4837a388fd3c4a7ffee27 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Mon, 14 Oct 2013 13:58:05 +0200 Subject: [PATCH] Do ask for confirmation --- htdocs/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comments.php b/htdocs/comments.php index 1daae2a..3484dad 100644 --- a/htdocs/comments.php +++ b/htdocs/comments.php @@ -71,7 +71,7 @@ if (!$ajax) Layout::header(); icons: { primary: "ui-icon-close" }, }) .on("click", function(){ - if (true || confirm("Delete comment?")) { + if (confirm("Delete comment?")) { data = { ajax: 1,