Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make the search box autofocus #120

Merged
merged 1 commit into from

2 participants

@ehsan
Collaborator

Fixes bug 858015.

@erikrose erikrose merged commit 1b44571 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2013
  1. @ehsan

    Make the search box autofocus

    ehsan authored
    Fixes bug 858015.
This page is out of date. Refresh to see the latest.
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">
Something went wrong with that request. Please try again.