Compare commits

..

No commits in common. "e9271c3ef1f21b2b4f4a03717f8f62beccd067bf" and "a25ea40300125cba6a788217c53f623eca3bd7d6" have entirely different histories.

View file

@ -1,5 +1,3 @@
window.onload = (event) => {
if ((document.documentElement.scrollHeight / window.screen.availHeight ) > 1.5) {
window.addEventListener("scroll", () => { window.addEventListener("scroll", () => {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop; var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight; var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
@ -12,5 +10,3 @@ window.onload = (event) => {
toTop.classList.toggle("show"); toTop.classList.toggle("show");
} }
}); });
}
}