Merge pull request 'Jump to Top on New *only* in non-profiles' (#154) from Mergan/pleroma-fe:develop into develop
ci/woodpecker/push/woodpecker Pipeline was successful Details

Reviewed-on: AkkomaGang/pleroma-fe#154
This commit is contained in:
floatingghost 2022-09-05 00:31:06 +00:00
commit c301daa276
1 changed files with 3 additions and 0 deletions

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