summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-16 23:27:25 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-16 23:27:25 -0700
commit99d0db136cfaa88cf654c77e30fd1867136db9d5 (patch)
tree4153ec81fdda91b4af1bb99e82cda9a2f14fae37 /web/react
parent8e848f38d5019269b75ff9814fc0e0772410a7b4 (diff)
downloadchat-99d0db136cfaa88cf654c77e30fd1867136db9d5.tar.gz
chat-99d0db136cfaa88cf654c77e30fd1867136db9d5.tar.bz2
chat-99d0db136cfaa88cf654c77e30fd1867136db9d5.zip
Fixing css
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/post_body.jsx4
1 files changed, 2 insertions, 2 deletions
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);
});
}