summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_body.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r--web/react/components/post_body.jsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx
index 7abf38838..13722857e 100644
--- a/web/react/components/post_body.jsx
+++ b/web/react/components/post_body.jsx
@@ -31,9 +31,9 @@ module.exports = React.createClass({
var name = "...";
if (profile != null) {
if (profile.username.slice(-1) === 's') {
- apostrophe = "'";
+ apostrophe = '\'';
} else {
- apostrophe = "'s";
+ apostrophe = '\'s';
}
name = <a className="theme" onClick={function(){ utils.searchForTerm(profile.username); }}>{profile.username}</a>;
}
@@ -62,11 +62,11 @@ module.exports = React.createClass({
var loading;
if (post.state === Constants.POST_FAILED) {
- postClass += " post-fail";
- loading = <a className="theme post-retry pull-right" href="#" onClick={this.props.retryPost}>Retry</a>;
+ postClass += ' post-fail';
+ loading = <a className='theme post-retry pull-right' href='#' onClick={this.props.retryPost}>Retry</a>;
} else if (post.state === Constants.POST_LOADING) {
- postClass += " post-waiting";
- loading = <img className="post-loading-gif pull-right" src="/static/images/load.gif"/>;
+ postClass += ' post-waiting';
+ loading = <img className='post-loading-gif pull-right' src='/static/images/load.gif'/>;
}
var embed;