Fix unread indicator not updating for notifications (#11923)

Regression from #11898
master
Eugen Rochko 5 years ago committed by GitHub
parent 0d2b60ab8b
commit 50b9276330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/javascript/mastodon/components/scrollable_list.js

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

Loading…
Cancel
Save