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');