Merge pull request 'Jump to Top on New *only* in non-profiles' (#154) from Mergan/pleroma-fe:develop into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/154
This commit is contained in:
floatingghost 2022-09-05 00:31:06 +00:00
commit c301daa276

View file

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