fix timeline scroll-to-top

このコミットが含まれているのは:
Henry Jameson 2022-04-10 18:44:03 +03:00
コミット a035fa4e6c
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -141,7 +141,7 @@ const Timeline = {
this.$store.commit('showNewStatuses', { timeline: this.timelineName }) this.$store.commit('showNewStatuses', { timeline: this.timelineName })
this.paused = false this.paused = false
} }
window.scrollTop = 0 window.scrollTo({ top: 0 })
}, },
fetchOlderStatuses: throttle(function () { fetchOlderStatuses: throttle(function () {
const store = this.$store const store = this.$store