fix timeline scroll-to-top
This commit is contained in:
parent
4c2301bc9f
commit
a035fa4e6c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user