summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-09-21 10:03:47 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-09-21 10:03:47 -0400
commitd1101e3c91932cd5480cdc107d84de38385e1d8a (patch)
tree68a368343e9ddc40b069b878309bff73c7903615 /web
parent7255209b726c87692d402dfab0bcdc71e340daf9 (diff)
downloadchat-d1101e3c91932cd5480cdc107d84de38385e1d8a.tar.gz
chat-d1101e3c91932cd5480cdc107d84de38385e1d8a.tar.bz2
chat-d1101e3c91932cd5480cdc107d84de38385e1d8a.zip
Wrapped comment messages in divs like posts in the center pane
Diffstat (limited to 'web')
-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)}}
/>