summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-09-21 11:17:48 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-09-21 11:17:48 -0400
commiteaaa30f6a27bd36fad6e28be4cb74e40bf06fced (patch)
tree68b50b2ba31660ffa55336572b9e820d869c4d60 /web/react/components
parent8b5cfa4594b575e400e79954a64afe3b45d6301f (diff)
parentd1101e3c91932cd5480cdc107d84de38385e1d8a (diff)
downloadchat-eaaa30f6a27bd36fad6e28be4cb74e40bf06fced.tar.gz
chat-eaaa30f6a27bd36fad6e28be4cb74e40bf06fced.tar.bz2
chat-eaaa30f6a27bd36fad6e28be4cb74e40bf06fced.zip
Merge pull request #733 from hmhealey/plt310
PLT-310 Wrapped comment messages in divs like posts in the center pane
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/rhs_comment.jsx2
-rw-r--r--web/react/components/rhs_root_post.jsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/rhs_comment.jsx b/web/react/components/rhs_comment.jsx
index 73623179f..806f8e2bc 100644
--- a/web/react/components/rhs_comment.jsx
+++ b/web/react/components/rhs_comment.jsx
@@ -207,7 +207,7 @@ export default class RhsComment extends React.Component {
<div className='post-body'>
<p className={postClass}>
{loading}
- <span
+ <div
onClick={TextFormatting.handleClick}
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(post.message)}}
/>
diff --git a/web/react/components/rhs_root_post.jsx b/web/react/components/rhs_root_post.jsx
index 4ed97d00a..13da8101d 100644
--- a/web/react/components/rhs_root_post.jsx
+++ b/web/react/components/rhs_root_post.jsx
@@ -147,7 +147,7 @@ export default class RhsRootPost extends React.Component {
</li>
</ul>
<div className='post-body'>
- <p
+ <div
onClick={TextFormatting.handleClick}
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(post.message)}}
/>