Some more traces... (fix typo)
[vchess.git] / client / src / components / BaseGame.vue
index be58295..9878039 100644 (file)
@@ -466,7 +466,7 @@ export default {
           this.lastMove = smove;
           // Condition is "!navigate" but we mean "!this.autoplay"
           if (!navigate) {
-            IF (this.cursor < this.moves.length - 1)
+            if (this.cursor < this.moves.length - 1)
               this.moves = this.moves.slice(0, this.cursor + 1);
             this.moves.push(smove);
           }