diff --git a/source/Ox/js/Core.js b/source/Ox/js/Core.js index 153400f5..97d140d5 100644 --- a/source/Ox/js/Core.js +++ b/source/Ox/js/Core.js @@ -120,8 +120,8 @@ Ox.localStorage = function(namespace) { // In Safari (OS X or iOS) is in private browsing mode, // it appears as though localStorage is available, // but trying to call .setItem throws an exception. - localStorage.setItem("OxJS.writeTest", ""); - localStorage.removeItem("OxJS.writeTest"); + localStorage.setItem('OxJS.test', ''); + localStorage.removeItem('OxJS.test'); } catch (e) { console.log('localStorage disabled'); localStorage = {};