diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-21 01:37:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-21 01:37:15 +0200 |
commit | 946a166791e5a1a10778e15ca4a9f5f10c961134 (patch) | |
tree | 1b502d96f353b3bfd3ce944ccbb8b16667a292c9 /app/javascript/mastodon/components/status.js | |
parent | 31cd64904198551e222a47aa7b2ce4cd8d4370d2 (diff) | |
download | mastodon-1.4.4.tar mastodon-1.4.4.tar.gz mastodon-1.4.4.tar.bz2 mastodon-1.4.4.zip |
Revert #3851 (#3878)v1.4.4
Diffstat (limited to 'app/javascript/mastodon/components/status.js')
-rw-r--r-- | app/javascript/mastodon/components/status.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index e77d1eb91..325aceb5b 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -91,14 +91,6 @@ class Status extends ImmutablePureComponent { } componentWillUnmount () { - if (!this.props.intersectionObserverWrapper) { - // TODO: enable IntersectionObserver optimization for notification statuses. - // These are managed in notifications/index.js rather than status_list.js - return; - } - - this.props.intersectionObserverWrapper.unobserve(this.props.id, this.node); - this.componentMounted = false; } |