From f103e4c815234fd5f451fe66e29bc17f0b20cadb Mon Sep 17 00:00:00 2001 From: hmhealey Date: Thu, 3 Dec 2015 15:13:25 -0500 Subject: Changed SuggestionBox to clear its suggestions on losing focus --- web/react/components/suggestion/search_suggestion_list.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/react/components/suggestion/search_suggestion_list.jsx') diff --git a/web/react/components/suggestion/search_suggestion_list.jsx b/web/react/components/suggestion/search_suggestion_list.jsx index 542d28ddd..3378a33a0 100644 --- a/web/react/components/suggestion/search_suggestion_list.jsx +++ b/web/react/components/suggestion/search_suggestion_list.jsx @@ -35,7 +35,7 @@ export default class SearchSuggestionList extends SuggestionList { } render() { - if (this.state.items.length === 0 || !this.props.show) { + if (this.state.items.length === 0) { return null; } -- cgit v1.2.3-1-g7c22