deplacement de singleConseil intersection observer to observeChapterProgression

This commit is contained in:
Antoine M 2024-07-19 09:27:55 +02:00
parent 697abbc784
commit 4b1c60758a

View File

@ -7,13 +7,14 @@ import archiveNewsInit from './archive-template-news';
import filterPublicationsInit from './archive-template-publications';
import accordeonInit from './accordeon';
import pageScrollerInit from './pageScroller';
import observeChapterProgression from './chapter-progression';
// window.addEventListener('load', function () {});
window.addEventListener('DOMContentLoaded', (event) => {
menuInit();
SchemaBulletPointsInit();
pageScrollerInit();
singleConseil();
// singleConseil();
editorInit();
accordeonInit();
taxonomyThematiqueFaqInit();
@ -21,4 +22,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
archiveNewsInit();
// PUBLICATIONS
filterPublicationsInit();
// CONSEILS + PARCOURS
observeChapterProgression();
});