add focus on login page load
This commit is contained in:
parent
bdb0fc4906
commit
34d389cf6e
@ -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>
|
||||
}
|
||||
|
@ -14,6 +14,8 @@
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/signalr/dist/browser/signalr.min.js"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
|
||||
@RenderSection("scripts", false)
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user