Просмотр исходного кода

[fix] the search text input gets the focus automatically

dalf 11 лет назад
Родитель
Сommit
43a6ffcd46
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      searx/templates/search.html

+ 1
- 1
searx/templates/search.html Просмотреть файл

@@ -1,6 +1,6 @@
1 1
 <form method="post" action="/" id="search_form">
2 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 4
     <input type="submit" value="" id="search_submit" />
5 5
 </div>
6 6
     <div>