projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix capture-in-check bug for Capture and Losers variants
[vchess.git]
/
client
/
src
/
utils
/
importgameStorage.js
diff --git
a/client/src/utils/importgameStorage.js
b/client/src/utils/importgameStorage.js
index
e5ad6e2
..
46a60bb
100644
(file)
--- a/
client/src/utils/importgameStorage.js
+++ b/
client/src/utils/importgameStorage.js
@@
-47,7
+47,7
@@
export const ImportgameStorage = {
};
transaction.onerror = function(err) {
// Duplicate key error (most likely)
- callback(err);
+ callback(err
.target.error
);
};
transaction.objectStore("importgames").add(game);
});