summaryrefslogtreecommitdiffstats
path: root/webapp/components/markdown_image.jsx
diff options
context:
space:
mode:
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 {