private mode take two
This commit is contained in:
parent
680d6ed1b2
commit
80fcc27039
2 changed files with 5 additions and 10 deletions
|
|
@ -13,8 +13,8 @@
|
|||
self.moto.KV.getItem('__test');
|
||||
} catch (e) {
|
||||
self.moto.KV = new KV();
|
||||
kv.setItem("__local__", "in private browsing mode or 3rd party storage blocked. application may not function.");
|
||||
console.log(kv.getItem("__local__"));
|
||||
kv.setItem("__paranoid__", "in private browsing mode or 3rd party storage blocked. application may not function.");
|
||||
console.log(kv.getItem("__paranoid__"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -52,8 +52,4 @@
|
|||
}
|
||||
};
|
||||
|
||||
KP.isLocal = function() {
|
||||
return this.getItem("__local__");
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue