summaryrefslogtreecommitdiffstats
path: root/apps/media
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-03 14:26:37 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-03 14:26:37 +0200
commitde0e16a6f342b957dd2032139df63ff7a036f81f (patch)
treebc8009fbb7dae09b9803908df0d76f9e88c8935a /apps/media
parent8e5184a8b9764acd540062e58a69ab02031e3f21 (diff)
downloadnextcloud-server-de0e16a6f342b957dd2032139df63ff7a036f81f.tar.gz
nextcloud-server-de0e16a6f342b957dd2032139df63ff7a036f81f.zip
fix a bug in the media player outside the media app
Diffstat (limited to 'apps/media')
-rw-r--r--apps/media/js/loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/js/loader.js b/apps/media/js/loader.js
index 5fc8a7bce40..06449abf521 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' && 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();
}
}