logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: a035fa4e6cca657c464b472c0bfd479197cc7f7e
parent 4c2301bc9f07bbc2ffd3d715311d8980912fc9df
Author: Henry Jameson <me@hjkos.com>
Date:   Sun, 10 Apr 2022 18:44:03 +0300

fix timeline scroll-to-top

Diffstat:

Msrc/components/timeline/timeline.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js @@ -141,7 +141,7 @@ const Timeline = { this.$store.commit('showNewStatuses', { timeline: this.timelineName }) this.paused = false } - window.scrollTop = 0 + window.scrollTo({ top: 0 }) }, fetchOlderStatuses: throttle(function () { const store = this.$store