Skip to content
Snippets Groups Projects
Commit 28a64bc2 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix an isue with persitent playlists inside the media player app

parent 1933426e
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,11 @@ $(document).ready(function() {
FileActions.setDefault('audio','Play');
FileActions.setDefault('application/ogg','Play');
}
if(typeof PlayList==='undefined'){
if(typeof localStorage !== 'undefined'){
if(localStorage.hasOwnProperty('oc_playlist_items')){
loadPlayer();
}
}
}
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment