diff options
Diffstat (limited to 'apps/media/js/loader.js')
-rw-r--r-- | apps/media/js/loader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/js/loader.js b/apps/media/js/loader.js index 429ef742d1a..5fc8a7bce40 100644 --- a/apps/media/js/loader.js +++ b/apps/media/js/loader.js @@ -51,7 +51,7 @@ $(document).ready(function() { } if(typeof PlayList==='undefined'){ if(typeof localStorage !== 'undefined'){ - if(localStorage.hasOwnProperty(oc_current_user+'oc_playlist_items')){ + if(localStorage.hasOwnProperty(oc_current_user+'oc_playlist_items' && localStorage.getItem(oc_current_user+'oc_playlist_items')!='[]'){ loadPlayer(); } } |