dont hide the results if a new search yield no results
This commit is contained in:
parent
3a08f747fb
commit
291d8c73f8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue