diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js
index baccade88..182e4852c 100644
--- a/files/assets/js/mobile_navigation_bar.js
+++ b/files/assets/js/mobile_navigation_bar.js
@@ -12,12 +12,12 @@ document.getElementsByTagName('body')[0].onscroll = () => {
bottomBar.style.transform = "translateY(60px)";
console.log('test 2')
}
- else if (prevScrollpos < currentScrollPos && (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 60)) {
+ else if (prevScrollpos < currentScrollPos && (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight)) {
bottomBar.style.transform = "translateY(60px)";
console.log(document.body.offsetHeight)
console.log((window.innerHeight + currentScrollPos))
}
- else if (prevScrollpos > currentScrollPos && (window.innerHeight + currentScrollPos) < (document.body.offsetHeight - 60)) {
+ else if (prevScrollpos > currentScrollPos) {
bottomBar.style.transform = "translateY(0px)"
console.log('test 1')
}
diff --git a/files/templates/default.html b/files/templates/default.html
index cd272ea07..870aac7e0 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -332,7 +332,7 @@
-
+
{% if v %}