diff --git a/src/js/core/_core.js b/src/js/core/_core.js index 769db82..efac1b5 100644 --- a/src/js/core/_core.js +++ b/src/js/core/_core.js @@ -185,8 +185,8 @@ module.exports = { document.querySelectorAll("article").forEach((a) => { if ( a.getAttribute("data-template") != "none" ) { - - const observer = new IntersectionObserver((articles, { threshold: 0, rootMargin: 50vh}) => { + // why are threshold: 0, rootMargin: 50vh throwing an error? + const observer = new IntersectionObserver((articles, { }) => { articles.forEach(article => { let a = article.target;