Commit 7f1f7885 authored by Asaad Mahmood's avatar Asaad Mahmood

Updating fix

parent d9f5e009
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment