mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
focus primary element on forms
This commit is contained in:
parent
1e5d5344a4
commit
60002c5535
5 changed files with 23 additions and 15 deletions
|
@ -58,7 +58,10 @@
|
|||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#displaySettingsForm').on('submit', DisplaySettingsPage.onSubmit);
|
||||
$(function() {
|
||||
$('#displaySettingsForm input:first').focus();
|
||||
$('#displaySettingsForm').on('submit', DisplaySettingsPage.onSubmit);
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue