1
0
forked from 0ad/0ad

Remove focus when closing the chat window via the escape key.

This was SVN commit r12467.
This commit is contained in:
Deiz 2012-08-18 21:35:52 +00:00
parent 0f94813aa9
commit c32d3ece44

View File

@ -179,6 +179,7 @@ function openChat()
function closeChat()
{
getGUIObjectByName("chatInput").caption = ""; // Clear chat input
getGUIObjectByName("chatInput").blur(); // Remove focus
getGUIObjectByName("chatDialogPanel").hidden = true;
}