forked from GithubBackups/healthchecks
auto-focus input elements in Account Settings modal dialogs.
This commit is contained in:
parent
0b68393bb0
commit
888d7a1f9c
@ -10,4 +10,12 @@ $(function() {
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#invite-team-member-modal').on('shown.bs.modal', function () {
|
||||||
|
$('#itm-email').focus();
|
||||||
|
})
|
||||||
|
|
||||||
|
$('#set-team-name-modal').on('shown.bs.modal', function () {
|
||||||
|
$('#team-name').focus();
|
||||||
|
})
|
||||||
|
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user