diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 20:03:25 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 20:03:25 +0200 |
commit | 3cb4e8a44cd09676e28757540c938a80e3e7ff60 (patch) | |
tree | 0ed3dd386489ac2cf589d68583a39577d6d718d7 /assets/default | |
parent | 81c9df1363116b0f70161ccf55af4d6aab8c7f6b (diff) | |
download | Shaarli-3cb4e8a44cd09676e28757540c938a80e3e7ff60.tar.gz Shaarli-3cb4e8a44cd09676e28757540c938a80e3e7ff60.tar.zst Shaarli-3cb4e8a44cd09676e28757540c938a80e3e7ff60.zip |
Improve Manage tags page
Fixes #1125
Diffstat (limited to 'assets/default')
-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 | }); |