FIX IOS??

This commit is contained in:
b 2021-03-08 21:33:45 -08:00
parent 636957aedf
commit 7504a9b3f4
2 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@ const url_tag = location.hash.slice(1);
console.log(url_base); console.log(url_base);
console.log(url_tag); console.log(url_tag);
const BUILD_VERSION = "6.9.41"; const BUILD_VERSION = "6.9.42";
function setTitle() { function setTitle() {
let text; let text;

14
load.js
View file

@ -75,13 +75,13 @@ async function load(init_func) {
items = result.items; items = result.items;
sets = result.sets; sets = result.sets;
let clear_tx = db.transaction(['item_db', 'set_db'], 'readwrite'); // let clear_tx = db.transaction(['item_db', 'set_db'], 'readwrite');
let clear_items = clear_tx.objectStore('item_db'); // let clear_items = clear_tx.objectStore('item_db');
let clear_sets = clear_tx.objectStore('item_db'); // let clear_sets = clear_tx.objectStore('item_db');
//
await clear_items.clear(); // await clear_items.clear();
await clear_sets.clear(); // await clear_sets.clear();
await clear_tx.complete; // await clear_tx.complete;
let add_tx = db.transaction(['item_db', 'set_db'], 'readwrite'); let add_tx = db.transaction(['item_db', 'set_db'], 'readwrite');
add_tx.onabort = function(e) { add_tx.onabort = function(e) {