Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #120 from ehsan/autofocus
Browse files Browse the repository at this point in the history
Make the search box autofocus
  • Loading branch information
erikrose committed Apr 4, 2013
2 parents 4c5f9dd + 8d0bf72 commit 1b44571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dxr/templates/layout.html
Expand Up @@ -69,7 +69,7 @@
</div> </div>
</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"> <input type="hidden" name="redirect" value="true" id="redirect">


<div class="hidden-with-results"> <div class="hidden-with-results">
Expand Down

0 comments on commit 1b44571

Please sign in to comment.