From 3cb4e8a44cd09676e28757540c938a80e3e7ff60 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 16 Oct 2020 20:03:25 +0200 Subject: Improve Manage tags page Fixes #1125 --- assets/default/js/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/default/js/base.js b/assets/default/js/base.js index be986ae0..aadffc13 100644 --- a/assets/default/js/base.js +++ b/assets/default/js/base.js @@ -302,7 +302,7 @@ function init(description) { const deleteLinks = document.querySelectorAll('.confirm-delete'); [...deleteLinks].forEach((deleteLink) => { deleteLink.addEventListener('click', (event) => { - if (!confirm(document.getElementById('translation-delete-link').innerHTML)) { + if (!confirm(document.getElementById('translation-delete-tag').innerHTML)) { event.preventDefault(); } }); -- cgit v1.2.3