about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/scrollable_list.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/scrollable_list.js')
-rw-r--r--app/javascript/mastodon/components/scrollable_list.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/mastodon/components/scrollable_list.js b/app/javascript/mastodon/components/scrollable_list.js
index b8fa0c2d9..421756803 100644
--- a/app/javascript/mastodon/components/scrollable_list.js
+++ b/app/javascript/mastodon/components/scrollable_list.js
@@ -201,10 +201,6 @@ export default class ScrollableList extends PureComponent {
     this.detachIntersectionObserver();
 
     detachFullscreenListener(this.onFullScreenChange);
-
-    if (this.props.onScrollToTop) {
-      this.props.onScrollToTop();
-    }
   }
 
   onFullScreenChange = () => {