summaryrefslogtreecommitdiff
path: root/searx/templates/simple/search.html
diff options
context:
space:
mode:
authorresynth1943 <resynth1943@tutanota.com>2020-05-27 13:49:00 +0100
committerresynth1943 <resynth1943@tutanota.com>2020-05-27 13:49:00 +0100
commite84cdb66ae9842c304fde631517f8ebc9c7aaaaa (patch)
tree116c2b76022b0d25efd4b4ae46062c192d7c847b /searx/templates/simple/search.html
parent2d4d0bdc0cdc239dee931ba98a95bd632eb645e2 (diff)
downloadsearxng-e84cdb66ae9842c304fde631517f8ebc9c7aaaaa.tar.gz
searxng-e84cdb66ae9842c304fde631517f8ebc9c7aaaaa.zip
Add autofocus to all search inputs
Diffstat (limited to 'searx/templates/simple/search.html')
-rw-r--r--searx/templates/simple/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/search.html b/searx/templates/simple/search.html
index e9023b420..61d52dbc7 100644
--- a/searx/templates/simple/search.html
+++ b/searx/templates/simple/search.html
@@ -1,7 +1,7 @@
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
<div id="search_wrapper">
<div class="search_box">
- <input id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
+ <input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
<button id="clear_search" type="button" tabindex="-1"><span class="hide_if_nojs">{{ icon('close') }}</span><span class="show_if_nojs">{{ _('Clear search') }}</span></button>
<button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="show_if_nojs">{{ _('Start search') }}</span></button>
</div>