forked from AkkomaGang/akkoma-fe
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.$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
|
||||||
|
|
Loading…
Reference in a new issue