about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-23 02:19:08 +0200
committerGitHub <noreply@github.com>2019-09-23 02:19:08 +0200
commit50b9276330e38657d3a4f596db29f78ac242eaf7 (patch)
tree3d8241bc14152012a577afc1f19cf02c685064b2
parent0d2b60ab8b13a28e99a83e1104e7208de2025304 (diff)
Fix unread indicator not updating for notifications (#11923)
Regression from #11898
-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 = () => {