adding global accordeon init

This commit is contained in:
Antoine M 2023-12-13 16:32:49 +01:00
parent f4081dfc2f
commit 6c32040e25

View File

@ -5,6 +5,7 @@ import SchemaBulletPointsInit from './schema-bullet-points';
import taxonomyThematiqueFaqInit from './taxonomy-thematique-(faq)'; import taxonomyThematiqueFaqInit from './taxonomy-thematique-(faq)';
import archiveNewsInit from './archive-template-news'; import archiveNewsInit from './archive-template-news';
import filterPublicationsInit from './archive-template-publications'; import filterPublicationsInit from './archive-template-publications';
import accordeonInit from './accordeon';
// window.addEventListener('load', function () {}); // window.addEventListener('load', function () {});
window.addEventListener('DOMContentLoaded', (event) => { window.addEventListener('DOMContentLoaded', (event) => {
@ -12,7 +13,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
SchemaBulletPointsInit(); SchemaBulletPointsInit();
singleConseil(); singleConseil();
editorInit(); editorInit();
accordeonInit();
taxonomyThematiqueFaqInit(); taxonomyThematiqueFaqInit();
// NEWS // NEWS
archiveNewsInit(); archiveNewsInit();