diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/default/js/base.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
302 | const deleteLinks = document.querySelectorAll('.confirm-delete'); | 302 | const deleteLinks = document.querySelectorAll('.confirm-delete'); |
303 | [...deleteLinks].forEach((deleteLink) => { | 303 | [...deleteLinks].forEach((deleteLink) => { |
304 | deleteLink.addEventListener('click', (event) => { | 304 | deleteLink.addEventListener('click', (event) => { |
305 | if (!confirm(document.getElementById('translation-delete-link').innerHTML)) { | 305 | if (!confirm(document.getElementById('translation-delete-tag').innerHTML)) { |
306 | event.preventDefault(); | 306 | event.preventDefault(); |
307 | } | 307 | } |
308 | }); | 308 | }); |