diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js index 6cb167e9c..7c331eab3 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 - 150)) { + if (currentScrollPos <= 60 || (currentScrollPos >= document.body.offsetHeight)) { bottomBar.style.transform = "translateY(60px)"; } - else if (prevScrollpos > currentScrollPos && (currentScrollPos < document.body.offsetHeight - 150)) { + else if (prevScrollpos > currentScrollPos && (currentScrollPos < document.body.offsetHeight)) { bottomBar.style.transform = "translateY(0px)" } else { diff --git a/files/templates/default.html b/files/templates/default.html index dda24e6a7..ad4d3046b 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -341,7 +341,7 @@ - + {% if v %}