summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/core.json2
-rw-r--r--core/js/js.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/core/js/core.json b/core/js/core.json
index 555c683f6f7..670051a4ca4 100644
--- a/core/js/core.json
+++ b/core/js/core.json
@@ -1,7 +1,7 @@
{
"vendor": [
"jquery/dist/jquery.min.js",
- "jquery-migrate/jquery-migrate.min.js",
+ "jquery-migrate/jquery-migrate.js",
"jquery-ui/ui/jquery-ui.custom.js",
"underscore/underscore.js",
"moment/min/moment-with-locales.js",
diff --git a/core/js/js.js b/core/js/js.js
index ce4bf3ee5e9..ac1d582a9f8 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1337,9 +1337,6 @@ if(typeof localStorage !=='undefined' && localStorage !== null){
var item = localStorage.getItem(OC.localStorage.namespace+name);
if(item === null) {
return null;
- } else if (typeof JSON === 'undefined') {
- //fallback to jquery for IE6/7/8
- return $.parseJSON(item);
} else {
return JSON.parse(item);
}