mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-04-06 12:51:50 +00:00
Merge pull request #203 from dryabov/patch-72
Fix visibility of accordion collapse button with Bootstrap 5.2
This commit is contained in:
commit
3712a97d9b
@ -78,6 +78,7 @@
|
|||||||
|
|
||||||
if (!jed_collapse_init) {
|
if (!jed_collapse_init) {
|
||||||
[...document.querySelectorAll('.card-header[data-bs-toggle]')].forEach(el => {
|
[...document.querySelectorAll('.card-header[data-bs-toggle]')].forEach(el => {
|
||||||
|
el.classList.add('accordion');
|
||||||
el.classList.add('accordion-button');
|
el.classList.add('accordion-button');
|
||||||
el.classList.add('collapsed');
|
el.classList.add('collapsed');
|
||||||
el.setAttribute('href', el.dataset.href);
|
el.setAttribute('href', el.dataset.href);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user