Skip to content

Commit

Permalink
Merge pull request steemit#2075 from steemit/2074-only-open-commentbo…
Browse files Browse the repository at this point in the history
…x-once

only open comment box one time
  • Loading branch information
roadscape authored Nov 30, 2017
2 parents 40e76b8 + 23f2619 commit 0831ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/cards/PostFull.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class PostFull extends React.Component {
}

componentWillReceiveProps(nextProps) {
if (nextProps.username && process.env.BROWSER) {
if (!this.props.username && nextProps.username && process.env.BROWSER) {
this.setState({showReply: true});
}
}
Expand Down

0 comments on commit 0831ff8

Please sign in to comment.