nyastodon/app/javascript/mastodon/features/status
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
..
components Use ES module build of react-router-dom (#5264) 2017-10-08 02:55:58 +02:00
containers Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
index.js Fix an error when ancestors get loaded before the status itself (#5312) 2017-10-11 11:25:15 +02:00