Restored changes which remove emojify and switch to our own version
Этот коммит содержится в:
@@ -35,7 +35,6 @@ export default class PostBody extends React.Component {
|
||||
|
||||
parseEmojis() {
|
||||
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
|
||||
global.window.emojify.run(React.findDOMNode(this.refs.message_span));
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
@@ -56,7 +56,6 @@ export default class RhsComment extends React.Component {
|
||||
}
|
||||
parseEmojis() {
|
||||
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
|
||||
global.window.emojify.run(React.findDOMNode(this.refs.message_holder));
|
||||
}
|
||||
componentDidMount() {
|
||||
this.parseEmojis();
|
||||
|
||||
@@ -20,7 +20,6 @@ export default class RhsRootPost extends React.Component {
|
||||
}
|
||||
parseEmojis() {
|
||||
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
|
||||
global.window.emojify.run(React.findDOMNode(this.refs.message_holder));
|
||||
}
|
||||
componentDidMount() {
|
||||
this.parseEmojis();
|
||||
|
||||
Ссылка в новой задаче
Block a user