deplacement de singleConseil intersection observer to observeChapterProgression
This commit is contained in:
parent
697abbc784
commit
4b1c60758a
|
|
@ -7,13 +7,14 @@ import archiveNewsInit from './archive-template-news';
|
||||||
import filterPublicationsInit from './archive-template-publications';
|
import filterPublicationsInit from './archive-template-publications';
|
||||||
import accordeonInit from './accordeon';
|
import accordeonInit from './accordeon';
|
||||||
import pageScrollerInit from './pageScroller';
|
import pageScrollerInit from './pageScroller';
|
||||||
|
import observeChapterProgression from './chapter-progression';
|
||||||
// window.addEventListener('load', function () {});
|
// window.addEventListener('load', function () {});
|
||||||
|
|
||||||
window.addEventListener('DOMContentLoaded', (event) => {
|
window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
menuInit();
|
menuInit();
|
||||||
SchemaBulletPointsInit();
|
SchemaBulletPointsInit();
|
||||||
pageScrollerInit();
|
pageScrollerInit();
|
||||||
singleConseil();
|
// singleConseil();
|
||||||
editorInit();
|
editorInit();
|
||||||
accordeonInit();
|
accordeonInit();
|
||||||
taxonomyThematiqueFaqInit();
|
taxonomyThematiqueFaqInit();
|
||||||
|
|
@ -21,4 +22,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
archiveNewsInit();
|
archiveNewsInit();
|
||||||
// PUBLICATIONS
|
// PUBLICATIONS
|
||||||
filterPublicationsInit();
|
filterPublicationsInit();
|
||||||
|
|
||||||
|
// CONSEILS + PARCOURS
|
||||||
|
observeChapterProgression();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user