From 0167de4f65bc14af6ceb2a6ee5196174e77c08b6 Mon Sep 17 00:00:00 2001 From: Jason Hicks Date: Thu, 6 Jul 2017 23:16:55 -0500 Subject: [PATCH] Ensure search notice is always shown on search value change --- app/scripts/components/root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/components/root.js b/app/scripts/components/root.js index e77eb69..fb98b37 100755 --- a/app/scripts/components/root.js +++ b/app/scripts/components/root.js @@ -205,7 +205,7 @@ class Search extends React.Component { - {p.s.search.length > 3 ? {`${utils.t('pressEnterToSearch')} ${utils.t('google')}`} : null} + {p.s.search.length > 0 ? {`${utils.t('pressEnterToSearch')} ${utils.t('google')}`} : null} {p.s.topNavButton === 'newVersion' ? this.handleTopNavButtonClick(()=>chrome.runtime.reload())} style={topNavButtonStyle} className="ntg-sort-btn pull-right" fa="rocket" data-place="bottom" data-tip={p.s.width <= 841 ? utils.t('newVersionAvailable') : null}>{p.s.width <= 841 ? '' : utils.t('newVersionAvailable')} : null} {p.s.topNavButton === 'versionUpdate' ? this.handleTopNavButtonClick(()=>this.openAbout())} style={topNavButtonStyle} className="ntg-sort-btn pull-right" icon="info3" data-place="bottom" data-tip={p.s.width <= 841 ? `${utils.t('updatedTo')} ${utilityStore.get_manifest().version}` : null}>{p.s.width <= 841 ? '' : `${utils.t('updatedTo')} ${utilityStore.get_manifest().version}`} : null} {p.s.topNavButton === 'installed' ? this.handleTopNavButtonClick(()=>this.openAbout())} style={topNavButtonStyle} className="ntg-sort-btn pull-right" fa="thumbs-o-up" data-place="bottom" data-tip={p.s.width <= 841 ? utils.t('thankYouForInstallingTM5K') : null}>{p.s.width <= 841 ? '' : utils.t('thankYouForInstallingTM5K')} : null}