summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/search_suggestion_list.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/suggestion/search_suggestion_list.jsx')
-rw-r--r--webapp/components/suggestion/search_suggestion_list.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/suggestion/search_suggestion_list.jsx b/webapp/components/suggestion/search_suggestion_list.jsx
index 57aaee8ff..628f93af0 100644
--- a/webapp/components/suggestion/search_suggestion_list.jsx
+++ b/webapp/components/suggestion/search_suggestion_list.jsx
@@ -72,8 +72,10 @@ export default class SearchSuggestionList extends SuggestionList {
key={term}
ref={term}
item={item}
+ term={term}
+ matchedPretext={this.state.matchedPretext[i]}
isSelection={isSelection}
- onClick={this.handleItemClick.bind(this, term)}
+ onClick={this.handleItemClick}
/>
);
}