Permalink
Browse files

Merge pull request #120 from ehsan/autofocus

Make the search box autofocus
  • Loading branch information...
2 parents 4c5f9dd + 8d0bf72 commit 1b445716bff9643fd413bc0945db2b03b3fd822b @erikrose erikrose committed Apr 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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">

0 comments on commit 1b44571

Please sign in to comment.