summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 15:55:15 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-08 15:55:15 -0500
commite0529a627c97612d533a661016cd37c1603f4c32 (patch)
treef1a0f3a0027f19317ec30ba729821f25350e2978 /web
parent734a5dccf0c9c4b9674a066cf71cc45e0e6cb2e6 (diff)
downloadchat-e0529a627c97612d533a661016cd37c1603f4c32.tar.gz
chat-e0529a627c97612d533a661016cd37c1603f4c32.tar.bz2
chat-e0529a627c97612d533a661016cd37c1603f4c32.zip
Added proper click handler to search result text
Diffstat (limited to 'web')
-rw-r--r--web/react/components/search_results_item.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/search_results_item.jsx b/web/react/components/search_results_item.jsx
index 05292b7b3..5ab864b7c 100644
--- a/web/react/components/search_results_item.jsx
+++ b/web/react/components/search_results_item.jsx
@@ -123,6 +123,7 @@ export default class SearchResultsItem extends React.Component {
</ul>
<div className='search-item-snippet'>
<span
+ onClick={TextFormatting.handleClick}
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(this.props.post.message, formattingOptions)}}
/>
</div>