fix
This commit is contained in:
parent
50621b4de2
commit
a3317dbfc1
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 - 40) {
|
||||
if (currentScrollPos <= 60 || currentScrollPos >= document.body.offsetHeight - 20) {
|
||||
bottomBar.style.transform = "translateY(60px)";
|
||||
}
|
||||
else if (prevScrollpos > currentScrollPos && currentScrollPos < document.body.offsetHeight - 40) {
|
||||
else if (prevScrollpos > currentScrollPos && currentScrollPos < document.body.offsetHeight - 20) {
|
||||
bottomBar.style.transform = "translateY(0px)"
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -332,7 +332,7 @@
|
|||
<script src="/assets/js/gif_modal.js?v=56"></script>
|
||||
<script src="/assets/js/emoji_modal.js?v=142"></script>
|
||||
|
||||
<script src="/assets/js/mobile_navigation_bar.js?v=109"></script>
|
||||
<script src="/assets/js/mobile_navigation_bar.js?v=110"></script>
|
||||
|
||||
{% if v %}
|
||||
<script>function formkey() {return '{{v.formkey}}';}</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue