Skip to content

Commit

Permalink
Merge pull request #16 from Kombustor/patch-1
Browse files Browse the repository at this point in the history
Add autofocus to input field
  • Loading branch information
benbusby committed May 10, 2020
2 parents 122a67d + 743caf6 commit 1798b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<img class="logo" src="/static/img/logo.png">
<form action="/search" method="post">
<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">
</div>
</form>
Expand Down

0 comments on commit 1798b60

Please sign in to comment.