diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index c91c8d57..371b5124 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -150,6 +150,19 @@ const Timeline = { this.$store.commit('showNewStatuses', { timeline: this.timelineName }) this.paused = false } + switch (this.timelineName) { + default: + window.scrollTo({ top: 0 }) + break + case 'user': + break + case 'replies': + break + case 'media': + break + case 'favorites': + break + } }, fetchOlderStatuses: throttle(function () { const store = this.$store