From 541d739fb7f7fbae818c0317e3763286b282444c Mon Sep 17 00:00:00 2001 From: rlx Date: Mon, 22 Feb 2016 14:49:18 +0530 Subject: [PATCH] cosmetic changes --- source/Ox/js/Core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = {};