yet another kv/private fix
This commit is contained in:
parent
80fcc27039
commit
a24e083ae4
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@
|
||||||
self.moto.KV.setItem('__test', 1);
|
self.moto.KV.setItem('__test', 1);
|
||||||
self.moto.KV.getItem('__test');
|
self.moto.KV.getItem('__test');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
self.moto.KV = new KV();
|
let kv = self.moto.KV = new KV();
|
||||||
kv.setItem("__paranoid__", "in private browsing mode or 3rd party storage blocked. application may not function.");
|
kv.setItem("__paranoid__", "in private or restricted browsing mode. local storage blocked. application may not function.");
|
||||||
console.log(kv.getItem("__paranoid__"));
|
console.log(kv.getItem("__paranoid__"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue