X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FRules.vue;h=3339111a1d5dd9ffd3f53fe4d0ded6a6fc2d413a;hp=5a69c5bf9019becdf9ce95a21100cafaca874c4e;hb=677fe285f1137d1d3e672dcf2dae3ac6e943be37;hpb=2beba6db1bec978f55ff0da465f6a17cd40346da diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue index 5a69c5bf..3339111a 100644 --- a/client/src/views/Rules.vue +++ b/client/src/views/Rules.vue @@ -12,7 +12,7 @@ main | {{ st.tr["Stop game"] }} button(v-if="display=='rules' && gameInfo.vname!='Dark'" @click="gotoAnalyze") - | {{ st.tr["Analyze"] }} + | {{ st.tr["Analyse"] }} .section-content(v-show="display=='rules'" v-html="content") ComputerGame(v-show="display=='computer'" :game-info="gameInfo" @game-over="stopGame" @game-stopped="gameStopped") @@ -108,7 +108,7 @@ export default { this.gameInProgress = false; }, gotoAnalyze: function() { - this.$router.push("/analyze/" + this.gameInfo.vname + this.$router.push("/analyse/" + this.gameInfo.vname + "/?fen=" + V.GenRandInitFen()); }, },