fix timeline scroll-to-top
This commit is contained in:
parent
4c2301bc9f
commit
a035fa4e6c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue