aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-10 18:44:03 +0300
committerHenry Jameson <me@hjkos.com>2022-04-10 18:44:03 +0300
commita035fa4e6cca657c464b472c0bfd479197cc7f7e (patch)
tree559fc9f0e7d3aaf884f96159c81844ab8958c352 /src/components/timeline/timeline.js
parent4c2301bc9f07bbc2ffd3d715311d8980912fc9df (diff)
fix timeline scroll-to-top
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index a3931d32..4ae7410e 100644
--- 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