From 9e71c566ac8ed7559b85b2f0cd9bb43a07292957 Mon Sep 17 00:00:00 2001 From: denz Date: Fri, 12 Jun 2015 18:38:45 +0900 Subject: [PATCH] bug fix. --- .../main/webapp/features/serverMap/server-map.directive.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/main/webapp/features/serverMap/server-map.directive.js b/web/src/main/webapp/features/serverMap/server-map.directive.js index 8fb5e49e7..cfd452588 100644 --- a/web/src/main/webapp/features/serverMap/server-map.directive.js +++ b/web/src/main/webapp/features/serverMap/server-map.directive.js @@ -819,7 +819,9 @@ }); } else { $toolbar.animate({ top: -1 }, "fast", function() { - $toolbar.find(".search-result").show(); + if ( scope.searchNodeList.length > 0 ) { + $toolbar.find(".search-result").show(); + } $toolbarHandleSpan.addClass("glyphicon-chevron-up").removeClass("glyphicon-chevron-down"); }); }