diff options
Diffstat (limited to 'assets/default/js')
-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 951e3f4d..99e03370 100644 --- a/assets/default/js/base.js +++ b/assets/default/js/base.js | |||
@@ -567,7 +567,7 @@ function init(description) { | |||
567 | event.preventDefault(); | 567 | event.preventDefault(); |
568 | const block = findParent(event.target, 'div', { class: 'tag-list-item' }); | 568 | const block = findParent(event.target, 'div', { class: 'tag-list-item' }); |
569 | const tag = block.getAttribute('data-tag'); | 569 | const tag = block.getAttribute('data-tag'); |
570 | const refreshedToken = document.getElementById('token'); | 570 | const refreshedToken = document.getElementById('token').value; |
571 | 571 | ||
572 | if (confirm(`Are you sure you want to delete the tag "${tag}"?`)) { | 572 | if (confirm(`Are you sure you want to delete the tag "${tag}"?`)) { |
573 | const xhr = new XMLHttpRequest(); | 573 | const xhr = new XMLHttpRequest(); |