summaryrefslogtreecommitdiffstats
path: root/search/js/result.js
diff options
context:
space:
mode:
Diffstat (limited to 'search/js/result.js')
-rw-r--r--search/js/result.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/search/js/result.js b/search/js/result.js
index aaecde08c6b..cadb0d0aabe 100644
--- a/search/js/result.js
+++ b/search/js/result.js
@@ -25,6 +25,7 @@ OC.search.showResults=function(results){
parent.load(OC.filePath('search','templates','part.results.php'),function(){
OC.search.showResults.loaded=true;
$('#searchresults').click(function(event){
+ OC.search.hide();
event.stopPropagation();
});
$(window).click(function(event){