mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-19 11:02:58 +00:00
Autofocus on key input
This commit is contained in:
parent
d79c5ada53
commit
5add27f995
@ -289,6 +289,10 @@ $(function() {
|
||||
|
||||
if (data.numUsers > 1) {
|
||||
$('#join-modal').modal('show');
|
||||
$('#join-modal').on('shown.bs.modal', function (e) {
|
||||
$('#join-modal input').focus();
|
||||
});
|
||||
|
||||
key = '';
|
||||
}
|
||||
updateKeyVal(key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user