From edd42664ca9cb4ef45f13ab64622cce08cdc8fea 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 0ec29e74..84035e38 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -145,6 +145,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