From 16a3f92b70b3f7fe15511cf4b46bcfa67f1711dc Mon Sep 17 00:00:00 2001 From: Thibaud Date: Fri, 13 Sep 2024 18:49:50 +0200 Subject: [PATCH] correction probleme typo --- frontend/src/scripts/UI/IntersectionObserver/header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/UI/IntersectionObserver/header.js b/frontend/src/scripts/UI/IntersectionObserver/header.js index b679147..2e2ee73 100644 --- a/frontend/src/scripts/UI/IntersectionObserver/header.js +++ b/frontend/src/scripts/UI/IntersectionObserver/header.js @@ -7,7 +7,7 @@ const handleHeaderIntersection = function (entries) { const section_header = document.querySelector("header"); if (section_header) { - const headerObserver = new IntersectionObserver(handleSynthesisIntersection); + const headerObserver = new IntersectionObserver(handleHeaderIntersection); if (headerObserver) headerObserver.observe(section_header); } else myLog('No header to observe');