diff options
| author | Henry Jameson <me@hjkos.com> | 2022-04-10 18:44:03 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-04-10 18:44:03 +0300 |
| commit | a035fa4e6cca657c464b472c0bfd479197cc7f7e (patch) | |
| tree | 559fc9f0e7d3aaf884f96159c81844ab8958c352 | |
| parent | 4c2301bc9f07bbc2ffd3d715311d8980912fc9df (diff) | |
fix timeline scroll-to-top
| -rw-r--r-- | src/components/timeline/timeline.js | 2 |
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 |
