fix a bug in the media player outside the media app

This commit is contained in:
Robin Appelman 2011-08-03 14:26:37 +02:00
parent 8e5184a8b9
commit de0e16a6f3
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ $(document).ready(function() {
}
if(typeof PlayList==='undefined'){
if(typeof localStorage !== 'undefined'){
if(localStorage.hasOwnProperty(oc_current_user+'oc_playlist_items' && localStorage.getItem(oc_current_user+'oc_playlist_items')!='[]'){
if(localStorage.hasOwnProperty(oc_current_user+'oc_playlist_items') && localStorage.getItem(oc_current_user+'oc_playlist_items')!='[]'){
loadPlayer();
}
}