diff options
author | 2020-06-14 19:00:41 -0700 | |
---|---|---|
committer | 2020-06-14 19:22:31 -0700 | |
commit | 5e5615a2d11242fdee286d4a4e31d4433041f531 (patch) | |
tree | 7b36e497ad371dd4c6ffef8e2487a2766c5a584a /ui/static/js/app.js | |
parent | fe8347f32afe996a36c946b9816e443a9693f85c (diff) | |
download | v2-5e5615a2d11242fdee286d4a4e31d4433041f531.tar.gz v2-5e5615a2d11242fdee286d4a4e31d4433041f531.tar.zst v2-5e5615a2d11242fdee286d4a4e31d4433041f531.zip |
Add icons to feeds and categories list
Diffstat (limited to '')
-rw-r--r-- | ui/static/js/app.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/static/js/app.js b/ui/static/js/app.js index 84fb3c67..ce8edaf2 100644 --- a/ui/static/js/app.js +++ b/ui/static/js/app.js @@ -517,8 +517,12 @@ function findEntry(element) { } function handleConfirmationMessage(linkElement, callback) { - linkElement.style.display = "none"; + if (linkElement.tagName != 'A') { + linkElement = linkElement.parentNode; + } + linkElement.style.display = "none"; + let containerElement = linkElement.parentNode; let questionElement = document.createElement("span"); |