diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js index a528ef115..2c6bf1097 100644 --- a/files/assets/js/mobile_navigation_bar.js +++ b/files/assets/js/mobile_navigation_bar.js @@ -8,10 +8,10 @@ document.getElementsByTagName('body')[0].onscroll = () => { // var navbar = document.getElementById("navbar"); if (bottomBar != null) { - if (currentScrollPos <= 60 || currentScrollPos >= document.body.offsetHeight - 100) { + if (currentScrollPos <= 60 || currentScrollPos >= document.body.offsetHeight - 50) { bottomBar.style.transform = "translateY(60px)"; } - else if (prevScrollpos > currentScrollPos && currentScrollPos < document.body.offsetHeight - 100) { + else if (prevScrollpos > currentScrollPos && currentScrollPos < document.body.offsetHeight - 50) { bottomBar.style.transform = "translateY(0px)" } else {