Clean up lines from intersection observer testing.
This commit is contained in:
@@ -210,10 +210,6 @@ module.exports = {
|
||||
articles.forEach(article => {
|
||||
let a = article.target;
|
||||
|
||||
// console.log("observing: ", { id: a.getAttribute("id"), intersecting: a.isIntersecting } )
|
||||
// if (article.intersectionRatio > 0) {
|
||||
// console.log("Is interesecting: ", { id: article.target.getAttribute("id"), intersecting: article.isIntersecting, ratio: article.intersectionRatio } )
|
||||
|
||||
if (article.isIntersecting == true) {
|
||||
let path = a.getAttribute("data-path");
|
||||
path = "patterns/" +
|
||||
|
Reference in New Issue
Block a user