diff options
| -rw-r--r-- | docs/src/templates/css/docs.css | 6 | ||||
| -rw-r--r-- | docs/src/templates/js/docs.js | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css index 6b1e6527..9a4ccfb0 100644 --- a/docs/src/templates/css/docs.css +++ b/docs/src/templates/css/docs.css @@ -268,6 +268,10 @@ ul.events > li > h3 { width:100%; } +.search-results.ng-hide { + display:none; +} + .search-results > .search-group { vertical-align:top; padding:10px 0; @@ -484,4 +488,4 @@ pre ol li { font-size: 16px; word-break: normal; word-wrap: normal; -}
\ No newline at end of file +} diff --git a/docs/src/templates/js/docs.js b/docs/src/templates/js/docs.js index 05b09571..1413a0de 100644 --- a/docs/src/templates/js/docs.js +++ b/docs/src/templates/js/docs.js @@ -79,8 +79,8 @@ docsApp.controller.DocsNavigationCtrl = ['$scope', '$location', 'docsSearch', fu } if(totalSections > 0) { $scope.colClassName = 'cols-' + totalSections; - $scope.hasResults = true; } + $scope.hasResults = totalSections > 0; $scope.results = results; } else { |
