From f1f4ca329d924ce53d98432fa03e77c8aa83adba Mon Sep 17 00:00:00 2001 From: kek7198 Date: Mon, 6 Dec 2021 21:37:45 -0600 Subject: [PATCH] fix --- files/assets/js/mobile_navigation_bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js index 3acec90a9..387396493 100644 --- a/files/assets/js/mobile_navigation_bar.js +++ b/files/assets/js/mobile_navigation_bar.js @@ -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') }