From 7504a9b3f4999e43d562af7f6a3eeed74712b5f0 Mon Sep 17 00:00:00 2001 From: b Date: Mon, 8 Mar 2021 21:33:45 -0800 Subject: [PATCH] FIX IOS?? --- builder.js | 2 +- load.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/builder.js b/builder.js index 5a6183c..ccc3694 100644 --- a/builder.js +++ b/builder.js @@ -2,7 +2,7 @@ const url_tag = location.hash.slice(1); console.log(url_base); console.log(url_tag); -const BUILD_VERSION = "6.9.41"; +const BUILD_VERSION = "6.9.42"; function setTitle() { let text; diff --git a/load.js b/load.js index bc8cfaf..180c2ea 100644 --- a/load.js +++ b/load.js @@ -75,13 +75,13 @@ async function load(init_func) { items = result.items; sets = result.sets; - let clear_tx = db.transaction(['item_db', 'set_db'], 'readwrite'); - let clear_items = clear_tx.objectStore('item_db'); - let clear_sets = clear_tx.objectStore('item_db'); - - await clear_items.clear(); - await clear_sets.clear(); - await clear_tx.complete; +// let clear_tx = db.transaction(['item_db', 'set_db'], 'readwrite'); +// let clear_items = clear_tx.objectStore('item_db'); +// let clear_sets = clear_tx.objectStore('item_db'); +// +// await clear_items.clear(); +// await clear_sets.clear(); +// await clear_tx.complete; let add_tx = db.transaction(['item_db', 'set_db'], 'readwrite'); add_tx.onabort = function(e) {