Fix and simplify variables update in Atomic
[vchess.git] / public / javascripts / components / game.js
index 6d05a2a..5c1e602 100644 (file)
@@ -755,8 +755,6 @@ Vue.component('my-game', {
                                this.possibleMoves = this.mode!="idle" && this.vr.canIplay(this.mycolor,startSquare)
                                        ? this.vr.getPossibleMovesFrom(startSquare)
                                        : [];
-                               console.log(this.possibleMoves);
-                               console.log(this.vr.promoted);
                                e.target.parentNode.appendChild(this.selectedPiece);
                        }
                },