Fix bug on browsers like rekonq which stopped execution of javascript
This commit is contained in:
parent
e0a5f976e7
commit
df6b15445d
|
@ -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…
Reference in New Issue