Embed scroll to correct element

This commit is contained in:
Chi Vinh Le
2017-07-18 23:00:12 +07:00
parent 46473142ba
commit 760d078705
@@ -94,7 +94,7 @@ class EmbedContainer extends React.Component {
if (!prevProps.root.comment && this.props.root.comment) {
// Scroll to a permalinked comment if one is in the URL once the page is done rendering.
setTimeout(() => pym.scrollParentToChildEl('coralStream'), 0);
setTimeout(() => pym.scrollParentToChildEl('talk-embed-stream-container'), 0);
}
}