X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=6722f3341d8b0c1102fcc9adaed3d3f38216bfc2;hb=d060d8cb355367f3cd9533c9ad37552802090502;hp=075919dbd924b6fe9f2e19249ac608879b55098c;hpb=964eda04ad6415b4ec95387ea08b63a3d0f0f9cc;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 075919db..6722f334 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -213,6 +213,7 @@ export default { game: {}, //passed to BaseGame focus: !document.hidden, //will not always work... TODO // virtualClocks will be initialized from true game.clocks + // TODO: clock update triggers re-rendering. Should be out of Vue virtualClocks: [], vr: null, //"variant rules" object initialized from FEN rulesContent: "", @@ -256,7 +257,8 @@ export default { // In case of incomplete information variant: boardDiv.style.visibility = "hidden"; this.atCreation(); - } else + } + else // Same game ID this.nextIds = JSON.parse(this.$route.query["next"] || "[]"); }