X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=2a7fae87e7f6a3bc8be8531cc8a351fec43e829f;hb=1d6d7b1d4027cbab04ded299d057ad2fb2896ee6;hp=a79cf803fd3a1600c6cc2e9535ea553e0f16eb94;hpb=d8b1800bcec983faabc34bdb1057ef880488a160;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index a79cf803..2a7fae87 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -343,13 +343,10 @@ export default { this.drawOffer = "received"; break; case "newchat": - { - const chat = data.data; - this.newChat = chat; + this.newChat = data.data; if (!document.getElementById("modalChat").checked) document.getElementById("chatBtn").style.backgroundColor = "#c5fefe"; break; - } } }, socketCloseListener: function() { @@ -718,7 +715,7 @@ export default { #actions display: inline-block - margin-top: 10px + margin: 0 button display: inline-block margin: 0