1
0
mirror of https://github.com/ViViDboarder/Vivid-Casper.git synced 2025-01-10 12:57:39 +00:00

Merge pull request from AileenCGN/1.0.0/infinite-scroll-fix

🎣  Infinite scroll: no API request on last page
This commit is contained in:
David Wolfe 2017-07-11 09:26:21 +01:00 committed by GitHub
commit 9aa6ff1716

View File

@ -46,6 +46,11 @@ $(function ($) {
return;
}
// return if currentPage is the last page already
if (currentPage === maxPages) {
return;
}
isLoading = true;
// next page