fix
This commit is contained in:
parent
389cfa3420
commit
47cf6095dd
2 changed files with 4 additions and 1 deletions
|
@ -9,12 +9,15 @@ document.getElementsByTagName('body')[0].onscroll = () => {
|
|||
|
||||
if (bottomBar != null) {
|
||||
if (currentScrollPos <= 60 || (currentScrollPos >= document.body.offsetHeight)) {
|
||||
console.log('less than 60 greater than offsetHeight');
|
||||
bottomBar.style.transform = "translateY(60px)";
|
||||
}
|
||||
else if (prevScrollpos > currentScrollPos) {
|
||||
console.log('prev greater than current');
|
||||
bottomBar.style.transform = "translateY(0px)"
|
||||
}
|
||||
else {
|
||||
console.log('else');
|
||||
bottomBar.style.transform = "translateY(60px)";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -340,7 +340,7 @@
|
|||
|
||||
<script defer src="/assets/js/popover.js?v=200"></script>
|
||||
|
||||
<script src="/assets/js/mobile_navigation_bar.js?v=200"></script>
|
||||
<script src="/assets/js/mobile_navigation_bar.js?v=201"></script>
|
||||
|
||||
{% if v %}
|
||||
<script>function formkey() {return '{{v.formkey}}';}</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue