1
0
Fork 0
forked from fedi/mastodon
mastodon/app
unarist b0407ece42 Fix an error when ancestors get loaded before the status itself (#5312)
When ancestors get loaded, we scroll to the target status (i.e. skip
ancestors). However, ancestors may get loaded before the status itself,
then it causes TypeError because `this.node` is undefined yet.

Since we don't show anything until the status gets loaded, we don't need
to scroll to the target status in this time. If we get the status itslef
later, it causes `componentDidUpdate` and scrolling correctly.
2017-10-11 11:25:15 +02:00
..
controllers sign_in and sign_up views present og meta infos (#5308) 2017-10-11 00:52:25 +02:00
helpers Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
javascript Fix an error when ancestors get loaded before the status itself (#5312) 2017-10-11 11:25:15 +02:00
lib Fix #5271 - Fix missing attribute in remove_from_feed (#5277) 2017-10-08 21:55:34 +02:00
mailers Supply @instance variable in password reset instructions / password change mailer (#5215) 2017-10-04 13:25:24 +02:00
models foreign_key, non-nullable, dependent: destroy in account_moderation_notes (#5294) 2017-10-10 13:12:17 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Compact status_ids in StatusRelationshipsPresenter (#5073) 2017-09-24 11:18:32 +02:00
serializers Fix #5178 - Use object URI only in Announce, instead of embedding (#5266) 2017-10-08 14:41:59 +02:00
services Fix #5272 - Order of checks in ActivityPub handler (#5276) 2017-10-08 22:03:34 +02:00
validators Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
views sign_in and sign_up views present og meta infos (#5308) 2017-10-11 00:52:25 +02:00
workers Set snowflake IDs for backdated statuses (#5260) 2017-10-08 17:34:34 +02:00