client: re-focus input on chat form submit
This commit is contained in:
parent
7e39ae045f
commit
aabdf562a6
@ -681,6 +681,7 @@ $(function() {
|
||||
|
||||
$("#form").on("submit", function(e) {
|
||||
e.preventDefault();
|
||||
focus();
|
||||
var text = input.val();
|
||||
|
||||
if (text.length === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user