diff --git a/_includes/transcript/js/transcript-js.html b/_includes/transcript/js/transcript-js.html index dd45c847..81ba9824 100644 --- a/_includes/transcript/js/transcript-js.html +++ b/_includes/transcript/js/transcript-js.html @@ -309,11 +309,4 @@ window.addEventListener("scroll", throttleScrollCheck); window.addEventListener('load', checkStickyAndUpdate); -const observer = new IntersectionObserver( - ([e]) => e.target.classList.toggle("bg-info", e.intersectionRatio < 1), - { threshold: [1] } -); - -observer.observe(stickyElement); - \ No newline at end of file