diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx index 15a058c5f6..2c28c5d9f7 100644 --- a/web/react/components/post_right.jsx +++ b/web/react/components/post_right.jsx @@ -73,9 +73,9 @@ RootPost = React.createClass({ type = "Comment"; } - var currentUser = ""; + var currentUserCss = ""; if (UserStore.getCurrentId() === this.props.post.user_id) { - currentUser = "current--user"; + currentUserCss = "current--user"; } if (filenames) { @@ -116,7 +116,7 @@ RootPost = React.createClass({ } return ( -
+
@@ -175,9 +175,9 @@ CommentPost = React.createClass({ var commentClass = "post"; - var currentUser = ""; + var currentUserCss = ""; if (UserStore.getCurrentId() === this.props.post.user_id) { - currentUser = "current--user"; + currentUserCss = "current--user"; } var postImageModalId = "rhs_comment_view_image_modal_" + this.props.post.id; @@ -229,7 +229,7 @@ CommentPost = React.createClass({ var message = utils.textToJsx(this.props.post.message); return ( -
+