From 948436ad3ee3e5c7a03f9000b350758265d0b6aa Mon Sep 17 00:00:00 2001 From: David Date: Fri, 2 Sep 2022 17:05:42 -0700 Subject: [PATCH] Jump to Top on New *only* in non-profiles --- src/components/timeline/timeline.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index c91c8d57..a52a6ac0 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -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