Defocus the chat box when sending an empty message
This was SVN commit r7954.
This commit is contained in:
parent
157dbdec62
commit
9c5fd64d5f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user