summaryrefslogtreecommitdiff
path: root/searx/templates/legacy
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/legacy
parent2d4d0bdc0cdc239dee931ba98a95bd632eb645e2 (diff)
downloadsearxng-e84cdb66ae9842c304fde631517f8ebc9c7aaaaa.tar.gz
searxng-e84cdb66ae9842c304fde631517f8ebc9c7aaaaa.zip
Add autofocus to all search inputs
Diffstat (limited to 'searx/templates/legacy')
-rw-r--r--searx/templates/legacy/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/legacy/search.html b/searx/templates/legacy/search.html
index 4d37f9ba1..fcd08d6d2 100644
--- a/searx/templates/legacy/search.html
+++ b/searx/templates/legacy/search.html
@@ -1,6 +1,6 @@
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form">
<div id="search_wrapper">
- <input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" size="100" {% if q %}value="{{ q }}"{% endif %}/>
+ <input type="text" autofocus placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" size="100" {% if q %}value="{{ q }}"{% endif %}/>
<input type="submit" value="search" id="search_submit" />
</div>
{% set display_tooltip = true %}