diff --git a/index.html b/index.html index a59bdc13..9a2b4607 100644 --- a/index.html +++ b/index.html @@ -7925,7 +7925,7 @@ - + diff --git a/libs/indexedDB.js b/libs/indexedDB.js index 03e09182..3d8de005 100644 --- a/libs/indexedDB.js +++ b/libs/indexedDB.js @@ -32,13 +32,13 @@ function getValue(key) { getRequest.onerror = event => { reject(new Error("indexedDB request error")); - console.log(event); + console.error(event); }; }; request.onerror = event => { reject(new Error("indexedDB request error")); - console.log(event); + console.error(event); }; }); }); @@ -67,13 +67,13 @@ function setValue(key, value) { transaction.onerror = event => { reject(new Error("indexedDB request error")); - console.log(event); + console.error(event); }; }; request.onerror = event => { reject(new Error("indexedDB request error")); - console.log(event); + console.error(event); }; }); }); diff --git a/modules/io/load.js b/modules/io/load.js index 4d8fda2c..a3549279 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -2,7 +2,7 @@ // Functions to load and parse .map files async function quickLoad() { - const blob = ldb.get("lastMap"); + const blob = await ldb.get("lastMap"); if (blob) loadMapPrompt(blob); else { tip("No map stored. Save map to browser storage first", true, "error", 2000); diff --git a/versioning.js b/versioning.js index c2ac5389..c6f2a60d 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.89.29"; // generator version, update each time +const version = "1.89.30"; // generator version, update each time { document.title += " v" + version;