mirror of
https://git.youjo.love/youjo/youjo-fe.git
synced 2024-11-20 05:49:54 +01:00
Jump to Top on New *only* in non-profiles
This commit is contained in:
parent
301a32991b
commit
948436ad3e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue