Skip to content
Snippets Groups Projects
Commit 291d8c73 authored by Robin Appelman's avatar Robin Appelman
Browse files

dont hide the results if a new search yield no results

parent 3a08f747
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,9 @@ OC.search.hide=function(){
};
}
OC.search.showResults=function(results){
if(results.length==0){
return;
}
if(!OC.search.showResults.loaded){
var parent=$('<div/>');
$('body').append(parent);
......
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