summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/mobile/views/components/timeline.vue3
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();