summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/js/web-install.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js
index 9369ad40..1ba6bb22 100644
--- a/static/js/web-install.js
+++ b/static/js/web-install.js
@@ -113,10 +113,12 @@ class BlobStore {
}
async saveFile(name, blob) {
- this.db.transaction(["files"], "readwrite").objectStore("files").add({
- name: name,
- blob: blob,
- });
+ await this._wrapReq(
+ this.db.transaction(["files"], "readwrite").objectStore("files").add({
+ name: name,
+ blob: blob,
+ })
+ );
}
async loadFile(name) {