Fix "load more" button being greyed out falsely

v1.1.0
Max Nuding 2023-04-07 10:01:18 +02:00
parent 8428f6e70e
commit 95e9b8cabf
Signed by: phlaym
GPG Key ID: A06651BAB6777237
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}