mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 19:47:38 +00:00
Merge pull request #327 from AileenCGN/1.0.0/infinite-scroll-fix
🎣 Infinite scroll: no API request on last page
This commit is contained in:
commit
9aa6ff1716
@ -46,6 +46,11 @@ $(function ($) {
|
||||
return;
|
||||
}
|
||||
|
||||
// return if currentPage is the last page already
|
||||
if (currentPage === maxPages) {
|
||||
return;
|
||||
}
|
||||
|
||||
isLoading = true;
|
||||
|
||||
// next page
|
||||
|
Loading…
Reference in New Issue
Block a user