Temp fix for compile bug
This commit is contained in:
parent
1c0186d4fe
commit
4c394e5215
@ -185,8 +185,8 @@ module.exports = {
|
|||||||
|
|
||||||
document.querySelectorAll("article").forEach((a) => {
|
document.querySelectorAll("article").forEach((a) => {
|
||||||
if ( a.getAttribute("data-template") != "none" ) {
|
if ( a.getAttribute("data-template") != "none" ) {
|
||||||
|
// why are threshold: 0, rootMargin: 50vh throwing an error?
|
||||||
const observer = new IntersectionObserver((articles, { threshold: 0, rootMargin: 50vh}) => {
|
const observer = new IntersectionObserver((articles, { }) => {
|
||||||
articles.forEach(article => {
|
articles.forEach(article => {
|
||||||
let a = article.target;
|
let a = article.target;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user