From 23aeb1e7b24b71848babbb9fd82871e7d1c235be Mon Sep 17 00:00:00 2001 From: kek7198 Date: Mon, 6 Dec 2021 22:20:16 -0600 Subject: [PATCH] fix --- files/assets/js/mobile_navigation_bar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {