aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/js
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/js')
-rw-r--r--tpl/default/js/shaarli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/js/shaarli.js b/tpl/default/js/shaarli.js
index 925f6ce7..a3d40b0d 100644
--- a/tpl/default/js/shaarli.js
+++ b/tpl/default/js/shaarli.js
@@ -133,7 +133,7 @@ function toggleFold(button, description, thumb)
133/** 133/**
134 * Confirmation message before deletion. 134 * Confirmation message before deletion.
135 */ 135 */
136var deleteLinks = document.querySelectorAll('.delete-link'); 136var deleteLinks = document.querySelectorAll('.confirm-delete');
137[].forEach.call(deleteLinks, function(deleteLink) { 137[].forEach.call(deleteLinks, function(deleteLink) {
138 deleteLink.addEventListener('click', function(event) { 138 deleteLink.addEventListener('click', function(event) {
139 if(! confirm('Are you sure you want to delete this link ?')) { 139 if(! confirm('Are you sure you want to delete this link ?')) {