X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=55ed249feae0343bcf9f45ee10beb45bebe3aab3;hb=e01dff1a4661974349091ffa1a8596676d90a75c;hp=f64c68f47d1aef1a69e6f695d71d2e5f8cbc6032;hpb=77c5096644d83aaae8ab1dd42a5cde524507cf9d;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index f64c68f4..55ed249f 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -81,6 +81,7 @@ export default { this.re_setVariables(); }, // Received a new move to play: + // TODO: error "flush nextTick callbacks" when observer reloads page "game.moveToPlay": function(newMove) { if (!!newMove) //if stop + launch new game, get undefined move this.play(newMove, "receive"); @@ -222,6 +223,7 @@ export default { const L = this.moves.length; this.cursor = L-1; this.lastMove = (L > 0 ? this.moves[L-1] : null); + this.incheck = []; }, analyzePosition: function() { const newUrl = "/analyze/" + this.game.vname +