diff options
-rw-r--r-- | track.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ window.addEventListener("load", ()=>{ startedAt = new Date() scrolledTo = window.scrollY - if (window.innerHeight > document.scrollingElement.scrollHeight) { + if (window.innerHeight >= document.scrollingElement.scrollHeight) { scrolledTo = document.scrollingElement.scrollHeight } }) |