|
|
@ -7,7 +7,7 @@ const handleHeaderIntersection = function (entries) { |
|
|
|
|
|
|
|
|
const section_header = document.querySelector("header");
|
|
|
const section_header = document.querySelector("header");
|
|
|
if (section_header) {
|
|
|
if (section_header) {
|
|
|
const headerObserver = new IntersectionObserver(handle
Synthesis
Intersection);
|
|
|
|
|
|
|
|
|
const headerObserver = new IntersectionObserver(handle
Header
Intersection);
|
|
|
if (headerObserver) headerObserver.observe(section_header);
|
|
|
if (headerObserver) headerObserver.observe(section_header);
|
|
|
} else myLog('No header to observe');
|
|
|
} else myLog('No header to observe');
|
|
|
|
|
|
|
|
|
|