fix detection of empty collection

This commit is contained in:
Robin Appelman 2011-08-28 23:20:02 +02:00
parent be4cb55368
commit 281b2187ab
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ Collection={
for(var i=0;i<Collection.loadedListeners.length;i++){
Collection.loadedListeners[i]();
}
if(data.songs[i].length==0){
if(data.songs.length==0){
$('#scan input.start').val(t('media','Scan Collection'));
$('#scan input.start').click();
}