diff options
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/post.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/post.jsx b/web/react/components/post.jsx index ab5d70f12..04b5ba082 100644 --- a/web/react/components/post.jsx +++ b/web/react/components/post.jsx @@ -69,14 +69,14 @@ module.exports = React.createClass({ postType = "post--comment"; } - var currentUser = ""; + var currentUserCss = ""; if (UserStore.getCurrentId() === post.user_id) { - currentUser = "current--user"; + currentUserCss = "current--user"; } return ( <div> - <div id={post.id} className={"post " + this.props.sameUser + " " + rootUser + " " + postType + " " + currentUser}> + <div id={post.id} className={"post " + this.props.sameUser + " " + rootUser + " " + postType + " " + currentUserCss}> { !this.props.hideProfilePic ? <div className="post-profile-img__container"> <img className="post-profile-img" src={"/api/v1/users/" + post.user_id + "/image"} height="36" width="36" /> |