cosmetic changes

This commit is contained in:
rlx 2016-02-22 14:49:18 +05:30
parent 8abbbd4791
commit 541d739fb7

View file

@ -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 = {};