From: Eugen Rochko Date: Mon, 23 Sep 2019 00:19:08 +0000 (+0200) Subject: Fix unread indicator not updating for notifications (#11923) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=50b9276330e38657d3a4f596db29f78ac242eaf7;p=mastodon.git Fix unread indicator not updating for notifications (#11923) Regression from #11898 --- 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 = () => {