X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fchat.js;h=8230e9f853ae01ca35c2fea68846ad05c2277cef;hb=60d9063fdfcd4b7628fbc0e0fc594f083bda8761;hp=b9bc798640db4be0634ecdea0f3480f6b02e9126;hpb=214dfe16b01836fb19291ebf209bb7035993bafe;p=vchess.git diff --git a/public/javascripts/components/chat.js b/public/javascripts/components/chat.js index b9bc7986..8230e9f8 100644 --- a/public/javascripts/components/chat.js +++ b/public/javascripts/components/chat.js @@ -22,8 +22,9 @@ Vue.component("my-chat", {

o.id == chat.uid)"} + v-html="chat.msg" > - {{ chat.msg }} + TODO: why chat.msg fails here?

@@ -61,6 +62,7 @@ Vue.component("my-chat", { this.conn.onclose = socketCloseListener; }, methods: { + translate: translate, // TODO: complete this component sendChat: function() { let chatInput = document.getElementById("input-chat");