fix javascript error in media player

This commit is contained in:
Robin Appelman 2011-08-24 23:37:45 +02:00
parent 7cd592e055
commit e0ff57e8c2
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++){ for(var i=0;i<Collection.loadedListeners.length;i++){
Collection.loadedListeners[i](); Collection.loadedListeners[i]();
} }
if(collection.length==0){ if(data.songs[i].length==0){
$('#scan input.start').val(t('media','Scan Collection')); $('#scan input.start').val(t('media','Scan Collection'));
$('#scan input.start').click(); $('#scan input.start').click();
} }