Jump to Top on New *only* in non-profiles

This commit is contained in:
David 2022-09-02 17:05:42 -07:00
parent 301a32991b
commit 948436ad3e

View file

@ -150,6 +150,9 @@ const Timeline = {
this.$store.commit('showNewStatuses', { timeline: this.timelineName }) this.$store.commit('showNewStatuses', { timeline: this.timelineName })
this.paused = false this.paused = false
} }
if (!this.inProfile) {
window.scrollTo({ top: 0 })
}
}, },
fetchOlderStatuses: throttle(function () { fetchOlderStatuses: throttle(function () {
const store = this.$store const store = this.$store