This commit is contained in:
kek7198 2021-12-06 21:14:51 -06:00
parent 99b89539cd
commit a78dc0199c
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ document.getElementsByTagName('body')[0].onscroll = () => {
// var navbar = document.getElementById("navbar");
if (bottomBar != null) {
if (prevScrollpos > currentScrollPos && (window.innerHeight + currentScrollPos) < (document.body.offsetHeight - 100)) {
if (prevScrollpos > currentScrollPos && (window.innerHeight + currentScrollPos) >= (document.body.offsetHeight - 100)) {
bottomBar.style.transform = "translateY(0px)"
}
else if (currentScrollPos <= 60 && (window.innerHeight + currentScrollPos) < (document.body.offsetHeight - 100)) {

View file

@ -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=76"></script>
<script src="/assets/js/mobile_navigation_bar.js?v=77"></script>
{% if v %}
<script>function formkey() {return '{{v.formkey}}';}</script>