From 99d0db136cfaa88cf654c77e30fd1867136db9d5 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 16 Sep 2015 23:27:25 -0700 Subject: Fixing css --- web/react/components/post_body.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/react') diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx index 5e460d686..3be615bb9 100644 --- a/web/react/components/post_body.jsx +++ b/web/react/components/post_body.jsx @@ -18,7 +18,7 @@ export default class PostBody extends React.Component { this.state = {links: linkData.links, message: linkData.text}; } - getTextNodesIn(nodeIn) { + getAllChildNodes(nodeIn) { var textNodes = []; function getTextNodes(node) { @@ -35,7 +35,7 @@ export default class PostBody extends React.Component { parseEmojis() { twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE}); - this.getTextNodesIn(React.findDOMNode(this)).forEach((current) => { + this.getAllChildNodes(React.findDOMNode(this)).forEach((current) => { global.window.emojify.run(current); }); } -- cgit v1.2.3-1-g7c22