summaryrefslogtreecommitdiffstats
path: root/web/react/components/posts_view.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/posts_view.jsx')
-rw-r--r--web/react/components/posts_view.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/posts_view.jsx b/web/react/components/posts_view.jsx
index 41262f2da..7d8c7e265 100644
--- a/web/react/components/posts_view.jsx
+++ b/web/react/components/posts_view.jsx
@@ -342,7 +342,7 @@ export default class PostsView extends React.Component {
}
scrollToBottomAnimated() {
var postList = $(this.refs.postlist);
- postList.animate({scrollTop:this.refs.postlist.scrollHeight}, '500');
+ postList.animate({scrollTop: this.refs.postlist.scrollHeight}, '500');
}
componentDidMount() {
if (this.props.postList != null) {