Skip to content

Commit

Permalink
fix depth check, resolves steemit#298 (steemit#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
roadscape authored and Valentine Zavgorodnev committed Sep 21, 2016
1 parent 1a74f60 commit 8a462ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/cards/Comment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class CommentImpl extends React.Component {
noImage={noImage || !pictures} jsonMetadata={jsonMetadata} />);
controls = (<div>
<Voting post={post} />
{!$STM_Config.read_only_mode && depth !== 5 && <a onClick={onShowReply}>Reply</a>}
{!$STM_Config.read_only_mode && depth < 6 && <a onClick={onShowReply}>Reply</a>}
{showEditOption && <span>
&nbsp;&nbsp;
<a onClick={onShowEdit}>Edit</a>
Expand Down

0 comments on commit 8a462ac

Please sign in to comment.