forked from mirrors/0ad
Remove focus when closing the chat window via the escape key.
This was SVN commit r12467.
This commit is contained in:
@@ -179,6 +179,7 @@ function openChat()
|
||||
function closeChat()
|
||||
{
|
||||
getGUIObjectByName("chatInput").caption = ""; // Clear chat input
|
||||
getGUIObjectByName("chatInput").blur(); // Remove focus
|
||||
getGUIObjectByName("chatDialogPanel").hidden = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user