From fd268b7fde8438d9044a384f3632fcab1c08e133 Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Tue, 6 Sep 2022 08:46:31 -0400 Subject: fix links --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 07115b5..84e3aeb 100644 --- a/index.js +++ b/index.js @@ -19,12 +19,11 @@ const observer = new IntersectionObserver(entries => { } }, { threshold: [...Array(THRESHOLD_FIDELITY).keys()].map(num => num/THRESHOLD_FIDELITY), - rootMargin: '-50px', + rootMargin: '-50px' }); // after two seconds pause the video setTimeout(() => { - console.log('fired') videoTitle.pause(); videoTitle.currentTime = 2; observer.observe(videoTitle); -- cgit v1.2.3-70-g09d2