Fix "load more" button being greyed out falsely
This commit is contained in:
parent
8428f6e70e
commit
95e9b8cabf
@ -129,7 +129,7 @@ function loadOlderPosts() {
|
||||
// There shouldn't be any duplicates, but better be safe than sorry
|
||||
data.posts = filterDuplicates(data.posts.concat(resp));
|
||||
// If we got less than we expected, there are no older posts available
|
||||
moreOlderPostsAvailable = resp.length < (filter.count ?? 20);
|
||||
moreOlderPostsAvailable = resp.length >= (filter.count ?? 20);
|
||||
} else {
|
||||
moreOlderPostsAvailable = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user