Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #120 from ehsan/autofocus

Make the search box autofocus
  • Loading branch information...
commit 1b445716bff9643fd413bc0945db2b03b3fd822b 2 parents 4c5f9dd + 8d0bf72
@erikrose erikrose authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dxr/templates/layout.html
View
2  dxr/templates/layout.html
@@ -69,7 +69,7 @@
</div>
</div>
- <input type="text" name="q" value="{{ query }}" maxlength="2048" id="query" accesskey="s" title="Search" autocomplete="off">
+ <input type="text" name="q" value="{{ query }}" maxlength="2048" id="query" accesskey="s" title="Search" autocomplete="off" autofocus>
<input type="hidden" name="redirect" value="true" id="redirect">
<div class="hidden-with-results">
Please sign in to comment.
Something went wrong with that request. Please try again.