From 50b9276330e38657d3a4f596db29f78ac242eaf7 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 23 Sep 2019 02:19:08 +0200 Subject: Fix unread indicator not updating for notifications (#11923) Regression from #11898 --- app/javascript/mastodon/components/scrollable_list.js | 4 ---- 1 file changed, 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 = () => { -- cgit