fix an isue with persitent playlists inside the media player app
This commit is contained in:
parent
1933426e3e
commit
28a64bc2f8
1 changed files with 5 additions and 3 deletions
|
@ -49,9 +49,11 @@ $(document).ready(function() {
|
|||
FileActions.setDefault('audio','Play');
|
||||
FileActions.setDefault('application/ogg','Play');
|
||||
}
|
||||
if(typeof localStorage !== 'undefined'){
|
||||
if(localStorage.hasOwnProperty('oc_playlist_items')){
|
||||
loadPlayer();
|
||||
if(typeof PlayList==='undefined'){
|
||||
if(typeof localStorage !== 'undefined'){
|
||||
if(localStorage.hasOwnProperty('oc_playlist_items')){
|
||||
loadPlayer();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Reference in a new issue