diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2018-04-15 23:50:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-15 23:50:00 +0900 |
| commit | 9a152162e53bc8d047ed4b85859b7b1806492011 (patch) | |
| tree | 50f1512769260b5ecbff3abe37f767c43a0a56dd /src/client | |
| parent | Update timeline.vue (diff) | |
| download | misskey-9a152162e53bc8d047ed4b85859b7b1806492011.tar.gz misskey-9a152162e53bc8d047ed4b85859b7b1806492011.tar.bz2 misskey-9a152162e53bc8d047ed4b85859b7b1806492011.zip | |
Update timeline.vue
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/mobile/views/components/timeline.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/app/mobile/views/components/timeline.vue b/src/client/app/mobile/views/components/timeline.vue index 7bb71cb07a..17d5d18ff0 100644 --- a/src/client/app/mobile/views/components/timeline.vue +++ b/src/client/app/mobile/views/components/timeline.vue @@ -98,8 +98,7 @@ export default Vue.extend({ }); }, onNote(note) { - if (this.isTop) this.notes.pop(); - this.notes.unshift(note); + this.isTop = window.scrollY < 100; }, onChangeFollowing() { this.fetch(); |