X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=c0c50318a7d536e10c7d1db9d84f8a42ca5a2fe3;hp=8f9b946ad2a1aebc1a10f577df2a6e33dffad239;hb=4f51861013271a060b358884097a676e3d42d496;hpb=0e16cb26f6380f57f1079ece9bdb654243073bde diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 8f9b946a..c0c50318 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -10,7 +10,7 @@ main .row #aboveBoard.col-sm-12.col-md-9.col-md-offset-3.col-lg-10.col-lg-offset-2 button#chatBtn(onClick="doClick('modalChat')") Chat - #actions(v-if="game.mode!='analyze' && game.score=='*'") + #actions(v-if="game.score=='*'") button(@click="clickDraw" :class="{['draw-' + drawOffer]: true}") Draw button(@click="abortGame") Abort button(@click="resign") Resign @@ -560,7 +560,6 @@ export default { document.getElementById("chatBtn").style.backgroundColor = "#c5fefe"; }, gameOver: function(score, scoreMsg) { - this.game.mode = "analyze"; this.game.score = score; this.game.scoreMsg = scoreMsg; const myIdx = this.game.players.findIndex(p => {