add focus on login page load

This commit is contained in:
2023-05-16 17:16:31 -04:00
parent bdb0fc4906
commit 34d389cf6e
2 changed files with 12 additions and 1 deletions

View File

@ -6,4 +6,13 @@
<form method="post">
<input type="password" name="passphrase" placeholder="Passphrase" />
</form>
</form>
@section scripts {
<script>
$(function () {
$('input[name=passphrase]').focus();
});
</script>
}