aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-18 21:23:41 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commita2e984badda895b175cb522908cafc3defb73092 (patch)
tree97ec88ad9bfaa91a7b257e1fef36ed29f6e52396 /vnext
parentcaaacc6dbfc6a70ddef641eea92529cfd44550df (diff)
fix thread markup
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/Thread.js6
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>&middot; </span>
+ <span>&middot;&nbsp;</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>&nbsp;&middot; </span><a href="#" className="a-login">Reply</a>
+ <span>&nbsp;&middot;&nbsp;</span><a href="#" className="a-login">Reply</a>
</React.Fragment>
)
}