diff --git a/templates/home/player.html b/templates/home/player.html index 37eb28a..2a171e3 100644 --- a/templates/home/player.html +++ b/templates/home/player.html @@ -7,26 +7,24 @@ let player = "{{player}}"; let c = card.toString(); var msg = { - type: "message", - fct: "playcard", - player: player, - card: c + type: "message", + fct: "playcard", + player: player, + card: c }; - //window.game_socket.send("playcard "+player+":"+card); - t = JSON.stringify(msg); + let t = JSON.stringify(msg); window.game_socket.send(t); } function setTrumpColor(color) { let player = "{{player}}" var msg = { - type: "message", - fct: "setTrumpColor", - player: player, - color: color + type: "message", + fct: "setTrumpColor", + player: player, + color: color }; - //window.game_socket.send("setTrumpColor "+player+":"+color) - t = JSON.stringify(msg); + let t = JSON.stringify(msg); window.game_socket.send(t); } diff --git a/templates/shared/_layout.html b/templates/shared/_layout.html index 6e57a62..a6371b8 100644 --- a/templates/shared/_layout.html +++ b/templates/shared/_layout.html @@ -7,7 +7,7 @@ -