From f103e4c815234fd5f451fe66e29bc17f0b20cadb Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Thu, 3 Dec 2015 15:13:25 -0500
Subject: Changed SuggestionBox to clear its suggestions on losing focus

---
 web/react/components/suggestion/suggestion_list.jsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'web/react/components/suggestion/suggestion_list.jsx')

diff --git a/web/react/components/suggestion/suggestion_list.jsx b/web/react/components/suggestion/suggestion_list.jsx
index 87021fd94..e3ccd0f08 100644
--- a/web/react/components/suggestion/suggestion_list.jsx
+++ b/web/react/components/suggestion/suggestion_list.jsx
@@ -82,7 +82,7 @@ export default class SuggestionList extends React.Component {
     }
 
     render() {
-        if (this.state.items.length === 0 || !this.props.show) {
+        if (this.state.items.length === 0) {
             return null;
         }
 
@@ -121,6 +121,5 @@ export default class SuggestionList extends React.Component {
 }
 
 SuggestionList.propTypes = {
-    suggestionId: React.PropTypes.string.isRequired,
-    show: React.PropTypes.bool.isRequired
+    suggestionId: React.PropTypes.string.isRequired
 };
-- 
cgit v1.2.3-1-g7c22

