summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-08-21 20:06:34 +0800
committerJoram Wilander <jwawilander@gmail.com>2017-08-21 08:06:34 -0400
commit22efdbe6fb897ea1b4b2cf52c66eb3037474fcf5 (patch)
tree5c669e3e9b132a083bd4c9ea513f1a18fb7ce041 /webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx
parentd7b055f4284dea3b776fe20af436a9da3a48c6b8 (diff)
downloadchat-22efdbe6fb897ea1b4b2cf52c66eb3037474fcf5.tar.gz
chat-22efdbe6fb897ea1b4b2cf52c66eb3037474fcf5.tar.bz2
chat-22efdbe6fb897ea1b4b2cf52c66eb3037474fcf5.zip
fix expand/collapse arrows for youtube videos (#7240)
Diffstat (limited to 'webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx')
-rw-r--r--webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx b/webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx
index 04738fdcc..729084637 100644
--- a/webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx
+++ b/webapp/components/post_view/post_attachment_opengraph/post_attachment_opengraph.jsx
@@ -107,7 +107,7 @@ export default class PostAttachmentOpenGraph extends React.PureComponent {
}
componentDidUpdate() {
- postListScrollChange();
+ setTimeout(postListScrollChange, 0);
}
fetchData(url) {