normalize restricted browsing logs
This commit is contained in:
parent
ba940f0e87
commit
1df5147b39
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ try {
|
|||
IDB = self.indexedDB || self.mozIndexedDB || self.webkitIndexedDB || self.msIndexedDB;
|
||||
IRR = self.IDBKeyRange;
|
||||
} catch (e) {
|
||||
console.log("in private or restricted browsing mode. database storage blocked. application may not function.");
|
||||
console.log("IndexedDB disabled: application may not function properly");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -167,7 +167,7 @@ SP.init = function(options = {}) {
|
|||
request = null;
|
||||
|
||||
function fallback() {
|
||||
console.log("in private browsing mode or browser lacks support for IndexedDB. unable to setup storage for '" + name + "'.");
|
||||
console.log(`IndexedDB disabled: unable to initialize '${name}'`);
|
||||
local = {};
|
||||
storage.runQueue();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue