summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-08 23:12:41 -0500
committerChristopher Speller <crspeller@gmail.com>2016-03-08 23:12:41 -0500
commitd9eb8c0c5840b169da6e424ffa894dde4c632dd4 (patch)
treebe02a27bd5b0c730255a8637d8b261b6a84912fd /web
parentffbc8b132257892a12b58824e18c37a4643a1cf3 (diff)
parente0529a627c97612d533a661016cd37c1603f4c32 (diff)
downloadchat-d9eb8c0c5840b169da6e424ffa894dde4c632dd4.tar.gz
chat-d9eb8c0c5840b169da6e424ffa894dde4c632dd4.tar.bz2
chat-d9eb8c0c5840b169da6e424ffa894dde4c632dd4.zip
Merge pull request #2392 from hmhealey/plt1960
PLT-1960 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>