Permalink
Browse files

Make the search box autofocus

Fixes bug 858015.
  • Loading branch information...
1 parent 4c5f9dd commit 8d0bf7271447fded63424aa42f3c01af3863accb @ehsan 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 8d0bf72

Please sign in to comment.