commit 1a97b04106cb8836b031bf3b12ab00d9090cf8dc
parent 39b3fd7fc6a1dcf0e36d3ab8e5081c268a663fad
Author: tg(x) <*@tg-x.net>
Date: Wed, 5 Oct 2016 21:39:43 +0200
workaround bug in FF50
https://bugzilla.mozilla.org/show_bug.cgi?id=1101653
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git 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
+}