summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_body.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/post_body.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/post_body.jsx')
-rw-r--r--webapp/components/post_body.jsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/webapp/components/post_body.jsx b/webapp/components/post_body.jsx
index cb682abba..884dbbbbb 100644
--- a/webapp/components/post_body.jsx
+++ b/webapp/components/post_body.jsx
@@ -5,7 +5,6 @@ import ReactDOM from 'react-dom';
import FileAttachmentList from './file_attachment_list.jsx';
import UserStore from 'stores/user_store.jsx';
import * as Utils from 'utils/utils.jsx';
-import * as Emoji from 'utils/emoticons.jsx';
import Constants from 'utils/constants.jsx';
import * as TextFormatting from 'utils/text_formatting.jsx';
import twemoji from 'twemoji';
@@ -52,9 +51,9 @@ class PostBody extends React.Component {
parseEmojis() {
twemoji.parse(ReactDOM.findDOMNode(this), {
- className: 'emoji twemoji',
+ className: 'emoticon',
base: '',
- folder: Emoji.getImagePathForEmoticon()
+ folder: Constants.EMOJI_PATH
});
}