Skip to content

Commit 76eec03

Browse files
committed
Remove treshold from IntersectionObserver
As content inserted to Common Page may be longer, it can be possible that 70% of content will never be visible at once, and thus content will never be visible. Remove threshold to mitigate this issue.
1 parent 435b9f2 commit 76eec03

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

javascripts/application.js

-3
Original file line numberDiff line numberDiff line change
@@ -855,9 +855,6 @@
855855
entry.target.classList.add('visible');
856856
}
857857
});
858-
},
859-
{
860-
threshold: 0.7,
861858
}
862859
);
863860

0 commit comments

Comments
 (0)