Skip to content
Snippets Groups Projects
Commit 9c4c7934 authored by Bart Visscher's avatar Bart Visscher
Browse files

After selecting a search result, hide the results

parent 24bb7d16
No related branches found
No related tags found
No related merge requests found
......@@ -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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment