#101 Add loading spinner
This commit is contained in:
@@ -68,6 +68,9 @@ class LGallery {
|
||||
})
|
||||
this.index += PER_PAGE
|
||||
this.lightGallery.refresh()
|
||||
} else {
|
||||
// Remove the loading spinner once all items are loaded
|
||||
document.getElementById('loading-spinner')?.remove()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user