Fix bug on browsers like rekonq which stopped execution of javascript

This commit is contained in:
Simon Birnbach 2012-05-07 15:03:15 +02:00 committed by Arthur Schiwon
parent e0a5f976e7
commit df6b15445d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ OC.search.lastResults={};
OC.addStyle.loaded=[];
OC.addScript.loaded=[];
if(typeof localStorage !='undefined'){
if(typeof localStorage !='undefined' && localStorage != null){
//user and instance awere localstorage
OC.localStorage={
namespace:'oc_'+OC.currentUser+'_'+OC.webroot+'_',