Browse Source

[fix] the search text input gets the focus automatically

dalf 11 years ago
parent
commit
43a6ffcd46
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/templates/search.html

+ 1
- 1
searx/templates/search.html View File

1
 <form method="post" action="/" id="search_form">
1
 <form method="post" action="/" id="search_form">
2
 <div id="search_wrapper">
2
 <div id="search_wrapper">
3
-    <input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
3
+    <input type="text" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
4
     <input type="submit" value="" id="search_submit" />
4
     <input type="submit" value="" id="search_submit" />
5
 </div>
5
 </div>
6
     <div>
6
     <div>