]> cat aescling's git repositories - mastodon.git/commit
Don't attach IntersectionObserver for wrapped statuses (#3883)
authorunarist <m.unarist@gmail.com>
Wed, 21 Jun 2017 04:47:36 +0000 (13:47 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 21 Jun 2017 04:47:36 +0000 (06:47 +0200)
commitcc382c5006ed5c4c18c3547150b214807b217c7b
tree428568011d8bfeaa60beff03f93d362531acdee6
parent946a166791e5a1a10778e15ca4a9f5f10c961134
Don't attach IntersectionObserver for wrapped statuses (#3883)

(This patch has been merged as bugfix and reverted, but still valuable as
improvement)

Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. but wrapped Status don't need to manage
intersection and visibility by itself, because it's a part of wrapper Status.
app/javascript/mastodon/components/status.js