From 50b9276330e38657d3a4f596db29f78ac242eaf7 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 23 Sep 2019 02:19:08 +0200
Subject: [PATCH] Fix unread indicator not updating for notifications (#11923)

Regression from #11898
---
 app/javascript/mastodon/components/scrollable_list.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/javascript/mastodon/components/scrollable_list.js b/app/javascript/mastodon/components/scrollable_list.js
index b8fa0c2d9a..421756803c 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 = () => {