mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 19:43:09 +02:00
Update paging.ts
This commit is contained in:
parent
320b3d8617
commit
afa4563e1e
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ export default (opts) => ({
|
|||
this.items.unshift(item);
|
||||
|
||||
if (this.isScrollTop()) {
|
||||
// オーバーフローしたら古い投稿は捨てる
|
||||
// オーバーフローしたら古いアイテムは捨てる
|
||||
if (this.items.length >= opts.displayLimit) {
|
||||
this.items = this.items.slice(0, opts.displayLimit);
|
||||
this.more = true;
|
||||
|
|
Loading…
Reference in a new issue