Merge pull request #16 from Kombustor/patch-1

Add autofocus to input field
main
Ben Busby 2020-05-10 14:09:42 -06:00 committed by GitHub
commit 1798b6094d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<img class="logo" src="/static/img/logo.png"> <img class="logo" src="/static/img/logo.png">
<form action="/search" method="post"> <form action="/search" method="post">
<div class="search-fields"> <div class="search-fields">
<input type="text" name="q" id="search-bar"> <input type="text" name="q" id="search-bar" autofocus="autofocus">
<input type="submit" id="search-submit" value="Search"> <input type="submit" id="search-submit" value="Search">
</div> </div>
</form> </form>