Browse Source

Fix unread indicator not updating for notifications (#11923)

Regression from #11898
Eugen Rochko 4 years ago
parent
commit
50b9276330
1 changed files with 0 additions and 4 deletions
  1. 0 4
      app/javascript/mastodon/components/scrollable_list.js

+ 0 - 4
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 = () => {