fix
This commit is contained in:
parent
91f3bbe35c
commit
812c3dd283
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 || (currentScrollPos >= document.body.offsetHeight)) {
|
||||
if (currentScrollPos <= 60 || (currentScrollPos >= document.body.offsetHeight - 60)) {
|
||||
bottomBar.style.transform = "translateY(60px)";
|
||||
}
|
||||
else if (prevScrollpos > currentScrollPos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue