Code: Select all
error: true
message: "unknown"
name: "indexed_db_went_bad"
reason: "Failed to open indexedDB, are you in private browsing mode?"
stack: ""
status: 500
<prototype>: {…}
Code: Select all
function pouchDbGetNote() {
notesDb.get(notesData.noteDbEntryId)
.then(function (response) {
returnNoteData(response);
}).catch(function (err) {
console.log(err);
});
}
Code: Select all
pouchDbGetNote()
Code: Select all
// Create/get database
try {
notesDb = new PouchDB(notesData.db_name);
} catch (e) {
console.log(e);
}
pouchDbGetNote();
The call above is held within a `
Code: Select all
jQuery(document).ready(function () {