summaryrefslogtreecommitdiffstats
path: root/webapp/components/markdown_image.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-07-13 19:55:45 -0400
committerSaturnino Abril <saturnino.abril@gmail.com>2017-07-14 08:55:45 +0900
commit764ff4cb64eb86c87a28a076eed28d8778f194d6 (patch)
tree129f398480986221537827cb4ea2b127509c5d7b /webapp/components/markdown_image.jsx
parentb645bd3211c41db43dcf9360aedb1630be451741 (diff)
downloadchat-764ff4cb64eb86c87a28a076eed28d8778f194d6.tar.gz
chat-764ff4cb64eb86c87a28a076eed28d8778f194d6.tar.bz2
chat-764ff4cb64eb86c87a28a076eed28d8778f194d6.zip
PLT-7116/PLT-7126 Some final release fixes (#6933)
* Some final release fixes * Fix team switching with image in channel bug
Diffstat (limited to 'webapp/components/markdown_image.jsx')
-rw-r--r--webapp/components/markdown_image.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/markdown_image.jsx b/webapp/components/markdown_image.jsx
index 4d8635457..2634ef3f6 100644
--- a/webapp/components/markdown_image.jsx
+++ b/webapp/components/markdown_image.jsx
@@ -39,7 +39,7 @@ export default class MarkdownImage extends React.PureComponent {
waitForHeight = () => {
if (this.refs.image.height) {
- postListScrollChange();
+ setTimeout(postListScrollChange, 0);
this.heightTimeout = 0;
} else {