]> cat aescling's git repositories - mastodon.git/commitdiff
Fix unread indicator not updating for notifications (#11923)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 23 Sep 2019 00:19:08 +0000 (02:19 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Sep 2019 00:19:08 +0000 (02:19 +0200)
Regression from #11898

app/javascript/mastodon/components/scrollable_list.js

index b8fa0c2d9a96368e35f9fa3fe396b270722a867f..421756803c96fb2b1da7ec382243169e9ae1af5d 100644 (file)
@@ -201,10 +201,6 @@ export default class ScrollableList extends PureComponent {
     this.detachIntersectionObserver();
 
     detachFullscreenListener(this.onFullScreenChange);
-
-    if (this.props.onScrollToTop) {
-      this.props.onScrollToTop();
-    }
   }
 
   onFullScreenChange = () => {