diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-22 17:37:40 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-22 17:37:40 +0900 |
| commit | 7ce857593a0e618f6f7b4509b80b4f3e989dc389 (patch) | |
| tree | 11617e5727688b9f15eab8adf0888502c48d46d3 /src | |
| parent | wip (diff) | |
| download | misskey-7ce857593a0e618f6f7b4509b80b4f3e989dc389.tar.gz misskey-7ce857593a0e618f6f7b4509b80b4f3e989dc389.tar.bz2 misskey-7ce857593a0e618f6f7b4509b80b4f3e989dc389.zip | |
wip
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/mobile/views/components/posts.vue | 4 | ||||
| -rw-r--r-- | src/web/app/mobile/views/components/timeline.vue | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/web/app/mobile/views/components/posts.vue b/src/web/app/mobile/views/components/posts.vue index 01897eafde..48ed01d0a8 100644 --- a/src/web/app/mobile/views/components/posts.vue +++ b/src/web/app/mobile/views/components/posts.vue @@ -8,7 +8,9 @@ <span>%fa:angle-down%{{ _posts[i + 1]._datetext }}</span> </p> </template> - <slot name="tail"></slot> + <footer> + <slot name="tail"></slot> + </footer> </div> </template> diff --git a/src/web/app/mobile/views/components/timeline.vue b/src/web/app/mobile/views/components/timeline.vue index 13f5973605..2354f8a7a7 100644 --- a/src/web/app/mobile/views/components/timeline.vue +++ b/src/web/app/mobile/views/components/timeline.vue @@ -74,8 +74,8 @@ export default Vue.extend({ (this as any).api('posts/timeline', { until_id: this.posts[this.posts.length - 1].id }).then(posts => { + this.posts = this.posts.concat(posts); this.moreFetching = false; - this.posts.unshift(posts); }); }, onPost(post) { |