diff options
Diffstat (limited to 'test-client/main.ts')
-rw-r--r-- | test-client/main.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-client/main.ts b/test-client/main.ts index 0f841b06..04cd2331 100644 --- a/test-client/main.ts +++ b/test-client/main.ts @@ -214,6 +214,7 @@ function close_chat() { function toggle_chat() { if (chat) { if (chat.value.length) send({ type: "communicate", message: { text: chat.value } }) + else send({ type: "communicate" }) chat.remove() canvas.focus() chat = null; |