Fix bug on browsers like rekonq which stopped execution of javascript

remotes/origin/stable4
Simon Birnbach 13 years ago committed by Arthur Schiwon
parent e0a5f976e7
commit df6b15445d
  1. 2
      core/js/js.js

@ -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+'_',

Loading…
Cancel
Save