fix a bug in the media player outside the media app
This commit is contained in:
parent
8e5184a8b9
commit
de0e16a6f3
|
@ -51,7 +51,7 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
if(typeof PlayList==='undefined'){
|
if(typeof PlayList==='undefined'){
|
||||||
if(typeof localStorage !== '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();
|
loadPlayer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue