fix
This commit is contained in:
parent
019896722c
commit
4d12ebec0c
2 changed files with 3 additions and 3 deletions
|
@ -8,10 +8,10 @@ document.getElementsByTagName('body')[0].onscroll = () => {
|
|||
// var navbar = document.getElementById("navbar");
|
||||
|
||||
if (bottomBar != null) {
|
||||
if (currentScrollPos <= 60 || (currentScrollPos >= document.body.offsetHeight - 60)) {
|
||||
if (currentScrollPos <= 60 || (currentScrollPos >= document.body.offsetHeight - 150)) {
|
||||
bottomBar.style.transform = "translateY(60px)";
|
||||
}
|
||||
else if (prevScrollpos > currentScrollPos && (currentScrollPos < document.body.offsetHeight - 60)) {
|
||||
else if (prevScrollpos > currentScrollPos && (currentScrollPos < document.body.offsetHeight - 150)) {
|
||||
bottomBar.style.transform = "translateY(0px)"
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -341,7 +341,7 @@
|
|||
|
||||
<script defer src="/assets/js/popover.js?v=18"></script>
|
||||
|
||||
<script src="/assets/js/mobile_navigation_bar.js?v=112"></script>
|
||||
<script src="/assets/js/mobile_navigation_bar.js?v=113"></script>
|
||||
|
||||
{% if v %}
|
||||
<script>function formkey() {return '{{v.formkey}}';}</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue