From 6107bd807de88cbf3ea027bd7adc45e0f6aa72fd Mon Sep 17 00:00:00 2001 From: kek7198 Date: Sun, 12 Dec 2021 23:01:34 -0600 Subject: [PATCH] fix --- files/assets/js/mobile_navigation_bar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js index e03ebfce3..c74e7ae67 100644 --- a/files/assets/js/mobile_navigation_bar.js +++ b/files/assets/js/mobile_navigation_bar.js @@ -9,15 +9,15 @@ document.getElementsByTagName('body')[0].onscroll = () => { if (bottomBar != null) { if (currentScrollPos <= 60 || ((window.innerHeight + currentScrollPos) < document.body.offsetHeight)) { - console.log('less than 60 greater than offsetHeight'); + // console.log('less than 60 greater than offsetHeight'); bottomBar.style.transform = "translateY(60px)"; } else if (prevScrollpos > currentScrollPos) { - console.log('prev greater than current'); + // console.log('prev greater than current'); bottomBar.style.transform = "translateY(0px)" } else { - console.log('else'); + // console.log('else'); bottomBar.style.transform = "translateY(60px)"; } }