fix
This commit is contained in:
parent
8ca7976f69
commit
f1f4ca329d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ document.getElementsByTagName('body')[0].onscroll = () => {
|
|||
// var navbar = document.getElementById("navbar");
|
||||
|
||||
if (bottomBar != null) {
|
||||
if (currentScrollPos <= 60 || (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 100)) {
|
||||
if (currentScrollPos <= 60 || (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 65)) {
|
||||
bottomBar.style.transform = "translateY(60px)";
|
||||
console.log('test 2')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue