mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-01 17:37:37 +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:
@ -46,6 +46,11 @@ $(function ($) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// return if currentPage is the last page already
|
||||||
|
if (currentPage === maxPages) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
isLoading = true;
|
isLoading = true;
|
||||||
|
|
||||||
// next page
|
// next page
|
||||||
|
Reference in New Issue
Block a user