X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=4a481df791fb917d653ce40da9f2f15e1bccbd77;hb=1f6bf26c9ba540bfb46483c0935694c70e8016cf;hp=71d776406e4c0c7c8d50754ab42ca56a7db9d5ed;hpb=107dc1bd5361e2538b1551bdcc37c1e90a444b83;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 71d77640..4a481df7 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1300,11 +1300,10 @@ export default { { body: "vs " + game.players[1-myIdx].name || "@nonymous" } ); } - this.$router.push( - "/game/" + gameInfo.id + "/?focus=" + this.focus); + this.$router.push("/game/" + gameInfo.id); }); }, - this.focus ? 500 + 1000 * Math.random() : 0 + this.focus ? 0 : 500 + 1000 * Math.random() ); } }