diff options
author | Nathan Sollenberger <nathan@spacenate.com> | 2016-12-04 21:29:41 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2016-12-04 21:29:41 +0300 |
commit | 093a6f8048d894cba719d93c156413da57e41f5f (patch) | |
tree | 0eebe6a1baf6cc0544351bd9eb98a3e61e917de4 /plugins/CoreHome/angularjs | |
parent | 1911edf5e52016064462adac7426a7c0462759bc (diff) |
Awesome search - Do not display "No Results" until user has typed something (#10955)
* Better text + https link
* When activating the Awesome Search form, do not display 'No Results' until user types something in to form
Diffstat (limited to 'plugins/CoreHome/angularjs')
-rw-r--r-- | plugins/CoreHome/angularjs/quick-access/quick-access.directive.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html b/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html index e01284a10e..db1ce349cb 100644 --- a/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html +++ b/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html @@ -10,7 +10,7 @@ ng-focus="view.searchActive=true" ng-model="search.term" piwik-focus-if="view.searchActive" type="text" tabindex="2"/> - <div class="dropdown" ng-show="search.term || view.searchActive"> + <div class="dropdown" ng-show="search.term && view.searchActive"> <ul ng-hide="(quickAccess.numMenuItems > 0) || (quickAccess.sitesModel.sites | length)"> <li class="no-result">{{ 'General_SearchNoResults' | translate }}</li> </ul> |