mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-14 18:45:06 +00:00
Apply clicked class when loading
This commit is contained in:
@@ -67,6 +67,7 @@ class NextPage extends FreezeWidth {
|
||||
if (entries.some(entry => entry.isIntersecting && entry.intersectionRatio >= intersectionThreshold)) {
|
||||
if (this.fetching) return
|
||||
this.class("disabled")
|
||||
this.class("clicked")
|
||||
this.fetch()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user