summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorGazoilKerozen <72867517+GazoilKerozen@users.noreply.github.com>2020-11-30 16:30:21 +0100
committerGitHub <noreply@github.com>2020-11-30 16:30:21 +0100
commit1b700738ebcd5327685f36bc32205a2d6169922e (patch)
treed1f54eb66cf7fc949a6610be7f57fe7e7c45f94a /searx/templates
parent4a36a3044d6e39bc60d026d99ed7a010f6505a5f (diff)
downloadsearxng-1b700738ebcd5327685f36bc32205a2d6169922e.tar.gz
searxng-1b700738ebcd5327685f36bc32205a2d6169922e.zip
[fix] fix the reset button in the oscar theme (#2306)
Rely on javascript instead of type="clear" Close #2009
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/search.html b/searx/templates/oscar/search.html
index c82aab7ea..2b3758efd 100644
--- a/searx/templates/oscar/search.html
+++ b/searx/templates/oscar/search.html
@@ -6,7 +6,7 @@
<input type="search" autofocus name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s">
<span class="input-group-btn">
<button type="submit" class="btn btn-default" aria-label="{{ _('Start search') }}"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
- <button type="reset" class="btn btn-default" aria-label="{{ _('Clear search') }}"><span class="hide_if_nojs">{{ icon('remove') }}</span><span class="hidden active_if_nojs">{{ _('Clear') }}</span></button>
+ <button type="button" id="clear_search" class="btn btn-default hide_if_nojs" aria-label="{{ _('Clear search') }}">{{ icon('remove') }}</button>
</span>
</div>
</div>