We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b82be7 commit 9d581aeCopy full SHA for 9d581ae
src/js/02-on-this-page.js
@@ -52,7 +52,7 @@
52
53
function onScroll () {
54
var scrolledBy = window.pageYOffset
55
- var buffer = getStyleValueAsInt(document.documentElement, 'fontSize')
+ var buffer = getStyleValueAsInt(document.documentElement, 'fontSize') * 1.15
56
var targetPosition = article.offsetTop
57
if (scrolledBy && window.innerHeight + scrolledBy + 2 >= document.documentElement.scrollHeight) {
58
if (lastActiveFragment) {
0 commit comments