diff options
author | Aki <please@ignore.pl> | 2020-07-08 22:57:43 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-07-08 22:57:43 +0200 |
commit | 9bce1d278b367feb00b1be4c46881489dab4c36a (patch) | |
tree | 8fefba45bef86657f3e160864e7e25b2eaba2b57 | |
parent | c3151c1f6c107c96eed796b9b8cd2806020deb19 (diff) | |
download | rudone-9bce1d278b367feb00b1be4c46881489dab4c36a.zip rudone-9bce1d278b367feb00b1be4c46881489dab4c36a.tar.gz rudone-9bce1d278b367feb00b1be4c46881489dab4c36a.tar.bz2 |
Removed obsolete argument in scroll handler
-rw-r--r-- | track.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ scrolledTo = document.scrollingElement.scrollHeight } }) - window.addEventListener("scroll", (event)=>{ + window.addEventListener("scroll", ()=>{ scrolledTo = Math.max(scrolledTo, window.scrollY + window.innerHeight) }, false) window.addEventListener("beforeunload", ()=>{ |