adding the notification js
This commit is contained in:
parent
17f02aa31a
commit
be3aff5bc1
|
|
@ -7,6 +7,7 @@ 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';
|
import observeChapterProgression from './chapter-progression';
|
||||||
|
import notificationsInit from './notifications.js';
|
||||||
// window.addEventListener('load', function () {});
|
// window.addEventListener('load', function () {});
|
||||||
|
|
||||||
window.addEventListener('DOMContentLoaded', (event) => {
|
window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
|
|
@ -23,4 +24,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
|
|
||||||
// CONSEILS + PARCOURS
|
// CONSEILS + PARCOURS
|
||||||
observeChapterProgression();
|
observeChapterProgression();
|
||||||
|
|
||||||
|
// NOTIFICATIONS
|
||||||
|
notificationsInit();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user