mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-01-02 14:21:52 +00:00
fix missed "success" icons in backend
This commit is contained in:
parent
9b9126aba2
commit
ab08b0b35b
@ -51,7 +51,7 @@
|
||||
[...sidebar.querySelectorAll('.badge.bg-info')].forEach(el => el.textContent = info || '');
|
||||
|
||||
const success = [...target.querySelectorAll('.alert-success')].length;
|
||||
[...sidebar.querySelectorAll('.badge.bg-info')].forEach(el => el.classList.toggle('hidden', !success));
|
||||
[...sidebar.querySelectorAll('.badge.bg-success')].forEach(el => el.classList.toggle('hidden', !success));
|
||||
|
||||
[...sidebar.querySelectorAll('.spinner-border')].forEach(el => el.classList.add('hidden'));
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user