mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-13 16:56:36 +00:00
Fix visibility of accordion collapse button with Bootstrap 5.2
This commit is contained in:
parent
e290c73f48
commit
c4fb78c186
@ -78,6 +78,7 @@
|
||||
|
||||
if (!jed_collapse_init) {
|
||||
[...document.querySelectorAll('.card-header[data-bs-toggle]')].forEach(el => {
|
||||
el.classList.add('accordion');
|
||||
el.classList.add('accordion-button');
|
||||
el.classList.add('collapsed');
|
||||
el.setAttribute('href', el.dataset.href);
|
||||
|
Loading…
Reference in New Issue
Block a user