summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_comment.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-23 16:56:30 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-23 17:49:14 -0400
commitc24a5c5a9ac16fdb249656f0c238b8e44727123c (patch)
tree3f2d7f723060ca2608e2415bd5f8400180cf394b /webapp/components/rhs_comment.jsx
parent7af2e6f87a754312809aa044edd062930616401a (diff)
downloadchat-c24a5c5a9ac16fdb249656f0c238b8e44727123c.tar.gz
chat-c24a5c5a9ac16fdb249656f0c238b8e44727123c.tar.bz2
chat-c24a5c5a9ac16fdb249656f0c238b8e44727123c.zip
Fixed unicode emoji not having a consistent size
Diffstat (limited to 'webapp/components/rhs_comment.jsx')
-rw-r--r--webapp/components/rhs_comment.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx
index de99eb37d..53170ee15 100644
--- a/webapp/components/rhs_comment.jsx
+++ b/webapp/components/rhs_comment.jsx
@@ -70,7 +70,11 @@ class RhsComment extends React.Component {
this.forceUpdate();
}
parseEmojis() {
- twemoji.parse(ReactDOM.findDOMNode(this), {size: Constants.EMOJI_SIZE});
+ twemoji.parse(ReactDOM.findDOMNode(this), {
+ className: 'emoticon',
+ base: '',
+ folder: Constants.EMOJI_PATH
+ });
}
handlePermalink(e) {
e.preventDefault();