yet another kv/private fix

This commit is contained in:
Stewart Allen 2020-06-13 12:08:08 -04:00
commit a24e083ae4

View file

@ -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__"));
} }