summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-01-08 12:01:20 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-01-08 12:01:20 +0500
commit7f1f7885e73b2e54b590adc2207d807cf72b3843 (patch)
treeff4a65bec0316fd749bd7e8ad1ee04f6edb6cc7b /web/react
parentd9f5e0097b28ba5efa105fea3c7da0bfbeb49070 (diff)
downloadchat-7f1f7885e73b2e54b590adc2207d807cf72b3843.tar.gz
chat-7f1f7885e73b2e54b590adc2207d807cf72b3843.tar.bz2
chat-7f1f7885e73b2e54b590adc2207d807cf72b3843.zip
Updating fix
Diffstat (limited to 'web/react')
-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) {