summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_body.jsx
diff options
context:
space:
mode:
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
});
}