X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=d920053aa5cb1e476d1f20278137d36b185d82d6;hb=afde76668963c4d0d96002fcae2ebabb9acf81e4;hp=d62e2ca77677a8b7ae4d33dd3552c5d8874e771a;hpb=3ecfb65d520b9d64a59e46a3a2c286b031ee1c26;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index d62e2ca7..d920053a 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -11,7 +11,7 @@ main .card label.modal-close(for="modalChat") #participants - span {{ Object.keys(people).length + " " + st.tr["participant(s):"] }} + span {{ st.tr["Participant(s):"] }} span( v-for="p in Object.values(people)" v-if="p.focus && !!p.name" @@ -1183,6 +1183,8 @@ export default { position: position, orientation: V.CanFlip ? this.game.mycolor : "w" }); + document.querySelector("#confirmDiv > .card").style.width = + boardDiv.offsetWidth + "px"; } else { // Incomplete information: just ask confirmation // Hide the board, because otherwise it could reveal infos