#41
This commit is contained in:
Alan Grainger
2025-01-10 14:19:19 +08:00
parent 77d23beb26
commit 1659f58c78
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class LGallery {
* https://www.lightgalleryjs.com/demos/infinite-scrolling/
*/
loadMoreItems () {
const numberOfItems = 2
const numberOfItems = 80
if (this.index < this.items.length) {
this.index += numberOfItems