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.addStyle.loaded=[];
|
||||||
OC.addScript.loaded=[];
|
OC.addScript.loaded=[];
|
||||||
|
|
||||||
if(typeof localStorage !='undefined'){
|
if(typeof localStorage !='undefined' && localStorage != null){
|
||||||
//user and instance awere localstorage
|
//user and instance awere localstorage
|
||||||
OC.localStorage={
|
OC.localStorage={
|
||||||
namespace:'oc_'+OC.currentUser+'_'+OC.webroot+'_',
|
namespace:'oc_'+OC.currentUser+'_'+OC.webroot+'_',
|
||||||
|
|
Loading…
Reference in New Issue