diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-07-16 15:25:28 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-07-21 11:56:19 -0400 |
commit | 25b2e75dc664bfb80470713331c33c88e726dcf5 (patch) | |
tree | 80f5cfaaf35589f255c8a4ea6e4fa83791c40a99 /web/react/components/post.jsx | |
parent | e32aee8977bf99b0f5ca446cb028b04c25e2b918 (diff) | |
download | chat-25b2e75dc664bfb80470713331c33c88e726dcf5.tar.gz chat-25b2e75dc664bfb80470713331c33c88e726dcf5.tar.bz2 chat-25b2e75dc664bfb80470713331c33c88e726dcf5.zip |
Added function to reply to earlier messages by prefixing a message with carets
Diffstat (limited to 'web/react/components/post.jsx')
-rw-r--r-- | web/react/components/post.jsx | 2 |
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" /> |