summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-05-31 17:15:47 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-05-31 17:15:47 -0400
commit7ad1571701e92b29cd00af078942a57648b06afb (patch)
tree1ca71f5151daf78e21840bf540f4a8543c9f97aa /webapp
parent5aaedb9663b987caf1fb11ea6062bcc44e6bafca (diff)
downloadchat-7ad1571701e92b29cd00af078942a57648b06afb.tar.gz
chat-7ad1571701e92b29cd00af078942a57648b06afb.tar.bz2
chat-7ad1571701e92b29cd00af078942a57648b06afb.zip
PLT-6684 Fixed onClick handler for search autocomplete suggestions (#6540)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/suggestion/search_suggestion_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/suggestion/search_suggestion_list.jsx b/webapp/components/suggestion/search_suggestion_list.jsx
index 4eb26a1cf..944ddaeca 100644
--- a/webapp/components/suggestion/search_suggestion_list.jsx
+++ b/webapp/components/suggestion/search_suggestion_list.jsx
@@ -79,7 +79,7 @@ export default class SearchSuggestionList extends SuggestionList {
term={term}
matchedPretext={this.state.matchedPretext[i]}
isSelection={isSelection}
- onClick={this.handleItemClick}
+ onClick={this.props.onCompleteWord}
/>
);
}