mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
why does this not get added
This commit is contained in:
parent
4ca362bc83
commit
597e663d09
2 changed files with 6 additions and 7 deletions
|
@ -54,7 +54,7 @@ export class ScramjetController {
|
|||
this.codec = self.$scramjet.codecs[this.config.codec];
|
||||
|
||||
await this.openIDB();
|
||||
|
||||
|
||||
const reg = await navigator.serviceWorker.register(serviceWorkerPath);
|
||||
dbg.log("service worker registered");
|
||||
|
||||
|
@ -95,10 +95,10 @@ export class ScramjetController {
|
|||
}
|
||||
|
||||
async #saveConfig() {
|
||||
if (!this.store) {
|
||||
console.error("Store not ready!")
|
||||
if (!this.store) {
|
||||
console.error("Store not ready!");
|
||||
|
||||
return
|
||||
return;
|
||||
}
|
||||
const tx = this.store.transaction("config", "readwrite");
|
||||
const store = tx.objectStore("config");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue