diff options
author | Vitaly Takmazov | 2018-06-18 21:23:41 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | a2e984badda895b175cb522908cafc3defb73092 (patch) | |
tree | 97ec88ad9bfaa91a7b257e1fef36ed29f6e52396 /vnext/src/components/Thread.js | |
parent | caaacc6dbfc6a70ddef641eea92529cfd44550df (diff) |
fix thread markup
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r-- | vnext/src/components/Thread.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index f5b5efe6..b847d618 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -93,7 +93,7 @@ export default class Thread extends React.Component { this.props.visitor.uid > 0 && <img src={`https://api.juick.com/thread/mark_read/${msg.mid}-${msg.rid || 0}.gif?hash=${this.props.visitor.hash}`} /> } - <h2>{`Replies (${msg.replies})`}</h2> + <h2>{msg.replies && `Replies (${msg.replies})`}</h2> </div> <ul id="replies"> { @@ -137,13 +137,13 @@ export default class Thread extends React.Component { { this.props.visitor.uid > 0 ? ( <React.Fragment> - <span>· </span> + <span>· </span> <a href={`/post?body=%23${msg.mid}/${msg.rid}%20`} className="a-thread-comment">Reply</a> <div className="msg-comment-target msg-comment-hidden"></div> </React.Fragment> ) : ( <React.Fragment> - <span> · </span><a href="#" className="a-login">Reply</a> + <span> · </span><a href="#" className="a-login">Reply</a> </React.Fragment> ) } |