mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-14 17:11:34 +01:00
HotFix: mobile scroll down
This commit is contained in:
@@ -142,8 +142,8 @@ function resetFilter(){
|
|||||||
|
|
||||||
o=1;
|
o=1;
|
||||||
|
|
||||||
$(document.body).on('touchmove', onScroll());
|
$(document.body).on('touchmove', onScroll);
|
||||||
$(windows).on('scroll', onScroll());
|
$(window).on('scroll', onScroll);
|
||||||
|
|
||||||
function onScroll() {
|
function onScroll() {
|
||||||
if (Math.ceil($(window).scrollTop() + $(window).height()) == Math.ceil($(document).height())) {
|
if (Math.ceil($(window).scrollTop() + $(window).height()) == Math.ceil($(document).height())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user