summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorSimon Birnbach <simon@simon-birnbach.de>2012-05-07 15:03:15 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-07 17:35:23 +0200
commitdf6b15445d48b6bfd3dd833d0fefb02b30c628c6 (patch)
tree5592df723bcd246337f67cd06df50d8aa33e3e19 /core/js/js.js
parente0a5f976e75739d02ec0483ed54bbcf31ce0c470 (diff)
downloadnextcloud-server-df6b15445d48b6bfd3dd833d0fefb02b30c628c6.tar.gz
nextcloud-server-df6b15445d48b6bfd3dd833d0fefb02b30c628c6.zip
Fix bug on browsers like rekonq which stopped execution of javascript
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 44255ed6670..6588de31e9a 100644
--- a/core/js/js.js
+++ b/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+'_',