Compare commits
2 Commits
20cdd8e688
...
95e9b8cabf
Author | SHA1 | Date | |
---|---|---|---|
95e9b8cabf | |||
8428f6e70e |
@ -70,7 +70,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Cannot be removed, so that it animates its width change */
|
/* Cannot be removed, so that it animates its width change */
|
||||||
|
@ -129,7 +129,7 @@ function loadOlderPosts() {
|
|||||||
// There shouldn't be any duplicates, but better be safe than sorry
|
// There shouldn't be any duplicates, but better be safe than sorry
|
||||||
data.posts = filterDuplicates(data.posts.concat(resp));
|
data.posts = filterDuplicates(data.posts.concat(resp));
|
||||||
// If we got less than we expected, there are no older posts available
|
// 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 {
|
} else {
|
||||||
moreOlderPostsAvailable = false;
|
moreOlderPostsAvailable = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user