This commit is contained in:
kek7198 2021-12-06 21:45:51 -06:00
parent 587ff458ae
commit c380defb12

View file

@ -12,7 +12,7 @@ document.getElementsByTagName('body')[0].onscroll = () => {
bottomBar.style.transform = "translateY(60px)"; bottomBar.style.transform = "translateY(60px)";
console.log('test 2') console.log('test 2')
} }
else if ((window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 60)) { else if ((window.innerHeight + currentScrollPos) >= (document.body.offsetHeight)) {
bottomBar.style.transform = "translateY(60px)"; bottomBar.style.transform = "translateY(60px)";
console.log('test 3') console.log('test 3')
} }