X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=4a481df791fb917d653ce40da9f2f15e1bccbd77;hb=1f6bf26c9ba540bfb46483c0935694c70e8016cf;hp=50da38107ddae35c6f72c48d7b88882999f2a75e;hpb=1c15969ecec2a86ee7dffe570e53dfd61fd06b22;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 50da3810..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() ); } } @@ -1313,7 +1312,7 @@ export default {