From 648f64c6fc9726993bc2ec5bd9400de5ca5054af Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 4 Jul 2016 17:35:44 +0200 Subject: [PATCH] confirm with the user before deleting pads --- customize.dist/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/customize.dist/main.js b/customize.dist/main.js index 8bc0e6af2..e95b45cc5 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -73,6 +73,7 @@ define([ var $row = $('#'+id); $row.find('.remove').click(function () { + if (!window.confirm("Are you sure you'd like to forget this pad (" + shortTitle + ")?")) { return; } forgetPad(pad.href); $row.fadeOut(750, function () { $row.remove();