X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=4a481df791fb917d653ce40da9f2f15e1bccbd77;hb=1f6bf26c9ba540bfb46483c0935694c70e8016cf;hp=b3172aca7849870edf8d3e4ef2c0a324408d317d;hpb=659a9bd22c88177e203207a406cdb6c9f69139d4;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index b3172aca..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() ); } } @@ -1367,7 +1366,7 @@ button.player-action margin-left: 32px .somethingnew - background-color: #D6EAF8 !important + background-color: #90C4EC !important .tabbtn background-color: #f9faee