projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Continue on Game view
[vchess.git]
/
client
/
src
/
utils
/
storage.js
diff --git
a/client/src/utils/storage.js
b/client/src/utils/storage.js
index
8008777
..
1103a42
100644
(file)
--- a/
client/src/utils/storage.js
+++ b/
client/src/utils/storage.js
@@
-34,6
+34,8
@@
function clearStorage()
function getGameFromStorage(gameId)
{
+ const gid = this.gameRef.id;
+ const rid = this.gameRef.rid; //may be blank
let game = {};
if (localStorage.getItem("gameId") === gameId)
{