1
0
forked from 0ad/0ad

Defocus the chat box when sending an empty message

This was SVN commit r7954.
This commit is contained in:
Ykkrosh 2010-08-15 01:27:52 +00:00
parent 157dbdec62
commit 9c5fd64d5f

View File

@ -107,8 +107,9 @@ function submitChatInput()
addChatMessage({ "type": "message", "guid": "local", "text": text });
input.caption = ""; // Clear chat input
input.blur(); // Remove focus
}
input.blur(); // Remove focus
toggleChatWindow();
}