diff --git a/files/assets/js/mobile_navigation_bar.js b/files/assets/js/mobile_navigation_bar.js
index 8bea96bf3..94484170f 100644
--- a/files/assets/js/mobile_navigation_bar.js
+++ b/files/assets/js/mobile_navigation_bar.js
@@ -8,13 +8,13 @@ document.getElementsByTagName('body')[0].onscroll = () => {
// var navbar = document.getElementById("navbar");
if (bottomBar != null) {
- if (prevScrollpos > currentScrollPos && (window.innerHeight + currentScrollPos) < (document.body.offsetHeight - 100)) {
+ if ((window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 100)) {
bottomBar.style.transform = "translateY(0px)"
}
else if (currentScrollPos <= 60 && (window.innerHeight + currentScrollPos) < (document.body.offsetHeight - 100)) {
bottomBar.style.transform = "translateY(60px)";
}
- else if (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 100) {
+ else if (prevScrollpos > currentScrollPos && (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 100)) {
bottomBar.style.transform = "translateY(0px)"
}
else {
diff --git a/files/templates/default.html b/files/templates/default.html
index 29ee30589..10088a50f 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -332,7 +332,7 @@
-
+
{% if v %}