fix timeline scroll-to-top

This commit is contained in:
Henry Jameson 2022-04-10 18:44:03 +03:00
parent 4c2301bc9f
commit a035fa4e6c

View file

@ -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