summaryrefslogtreecommitdiffstats
path: root/web/react/components/post.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-07-22 10:45:57 -0800
committerCorey Hulen <corey@hulen.com>2015-07-22 10:45:57 -0800
commitbeffcc0a3cafc700fdce98e794396cab371638c2 (patch)
tree85b2d11e3365c8619975048772c965fc33832790 /web/react/components/post.jsx
parent62d7c926519247e17dfe980172ec3f9ef7671274 (diff)
parent0967a131a152e056c1cb971f895b2d1f8df4d0ed (diff)
downloadchat-beffcc0a3cafc700fdce98e794396cab371638c2.tar.gz
chat-beffcc0a3cafc700fdce98e794396cab371638c2.tar.bz2
chat-beffcc0a3cafc700fdce98e794396cab371638c2.zip
Merge pull request #201 from hmhealey/mm1539
MM-1539 Added the ability to reply to earlier message threads by starting a post with ^
Diffstat (limited to 'web/react/components/post.jsx')
-rw-r--r--web/react/components/post.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post.jsx b/web/react/components/post.jsx
index e72a2d001..e3586ecde 100644
--- a/web/react/components/post.jsx
+++ b/web/react/components/post.jsx
@@ -83,7 +83,7 @@ module.exports = React.createClass({
<img className="post-profile-img" src={"/api/v1/users/" + post.user_id + "/image?time=" + timestamp} height="36" width="36" />
</div>
: null }
- <div className="post__content">
+ <div className={"post__content" + (this.props.isActiveThread ? " active-thread__content" : "")}>
<PostHeader ref="header" post={post} sameRoot={this.props.sameRoot} commentCount={commentCount} handleCommentClick={this.handleCommentClick} isLastComment={this.props.isLastComment} />
<PostBody post={post} sameRoot={this.props.sameRoot} parentPost={parentPost} posts={posts} handleCommentClick={this.handleCommentClick} />
<PostInfo ref="info" post={post} sameRoot={this.props.sameRoot} commentCount={commentCount} handleCommentClick={this.handleCommentClick} allowReply="true" />