adding the notification js

This commit is contained in:
Antoine M 2024-08-07 16:31:03 +02:00
parent 17f02aa31a
commit be3aff5bc1

View File

@ -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();
}); });