From 1a97b04106cb8836b031bf3b12ab00d9090cf8dc Mon Sep 17 00:00:00 2001 From: "tg(x)" <*@tg-x.net> Date: Wed, 5 Oct 2016 21:39:43 +0200 Subject: workaround bug in FF50 https://bugzilla.mozilla.org/show_bug.cgi?id=1101653 --- lib/wallet/query.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/wallet') diff --git a/lib/wallet/query.ts b/lib/wallet/query.ts index c7420a3f7..3119aa58f 100644 --- a/lib/wallet/query.ts +++ b/lib/wallet/query.ts @@ -290,7 +290,7 @@ class QueryRoot { */ putAll(storeName: string, iterable: any[]): QueryRoot { const doPutAll = (tx: IDBTransaction) => { - for (const obj of iterable) { + for (let obj of iterable) { tx.objectStore(storeName).put(obj); } }; @@ -412,4 +412,4 @@ class QueryRoot { this.hasWrite = true; } } -} \ No newline at end of file +} -- cgit v1.2.3