fix
This commit is contained in:
parent
587ff458ae
commit
c380defb12
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue