aboutsummaryrefslogtreecommitdiff
path: root/src/query.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.ts')
-rw-r--r--src/query.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.ts b/src/query.ts
index b199e0e9c..e45596c66 100644
--- a/src/query.ts
+++ b/src/query.ts
@@ -825,7 +825,7 @@ export class QueryRoot {
const req = tx.objectStore(store.name).get(key);
req.onsuccess = () => {
results.push(req.result);
- if (results.length == keys.length) {
+ if (results.length === keys.length) {
resolve(results);
}
};