1
0
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:
Cadence Ember
2020-06-28 23:35:53 +12:00
parent eb0633e082
commit 0c0a3cf7a8
2 changed files with 2 additions and 1 deletions

View File

@@ -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()
}
}