Fixed bug with endless scrolling
It didn't work when more than one page at a time should be loaded.
This commit is contained in:
parent
b4f52e9af5
commit
b5581c5822
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ function scrolled()
|
||||||
var nextPage = dom.find('.paginator .next:not(.inactive) a').attr('href');
|
var nextPage = dom.find('.paginator .next:not(.inactive) a').attr('href');
|
||||||
$(document).data('page-next', nextPage);
|
$(document).data('page-next', nextPage);
|
||||||
$('.paginator-content').append($(response).find('.paginator-content').children().fadeIn('slow'));
|
$('.paginator-content').append($(response).find('.paginator-content').children().fadeIn('slow'));
|
||||||
|
scrolled();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue