diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 20:15:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 20:15:19 +0200 |
commit | 64cac2562661c55f679dba5a7c308e7764f430b5 (patch) | |
tree | 0ed3dd386489ac2cf589d68583a39577d6d718d7 /assets | |
parent | 81c9df1363116b0f70161ccf55af4d6aab8c7f6b (diff) | |
parent | 3cb4e8a44cd09676e28757540c938a80e3e7ff60 (diff) | |
download | Shaarli-64cac2562661c55f679dba5a7c308e7764f430b5.tar.gz Shaarli-64cac2562661c55f679dba5a7c308e7764f430b5.tar.zst Shaarli-64cac2562661c55f679dba5a7c308e7764f430b5.zip |
Merge pull request #1596 from ArthurHoaro/feature/better-rename-tag
Improve Manage tags page
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 | }); |