ソースを参照

[fix] the search text input gets the focus automatically

dalf 11 年 前
コミット
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>