summaryrefslogtreecommitdiffstats
path: root/web/react/components/post.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-07-17 23:43:36 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-07-17 23:43:36 +0500
commit07601d6561cf6e7fe3c8cb9c15a12f26f8183246 (patch)
tree4b345c7714fc6178210e8ef7472af0d0ce294e61 /web/react/components/post.jsx
parentf5c4cf10c484111e817c1111d9138d891c6d84cf (diff)
downloadchat-07601d6561cf6e7fe3c8cb9c15a12f26f8183246.tar.gz
chat-07601d6561cf6e7fe3c8cb9c15a12f26f8183246.tar.bz2
chat-07601d6561cf6e7fe3c8cb9c15a12f26f8183246.zip
Changing var name from currentUser to currentUserCss
Diffstat (limited to 'web/react/components/post.jsx')
-rw-r--r--web/react/components/post.jsx6
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" />