summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/search_full.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-15 15:48:50 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-15 15:48:50 +0100
commit5bfaabeb6bb50844fd7389770eb5c8a64e63f13e (patch)
treeec45932ffb7ca7e3d746d94795e029a9e9bd4a20 /searx/templates/oscar/search_full.html
parent410dbc573bbb873a447710e122faefd11075b6df (diff)
[enh] add nojs support into oscar-template
Diffstat (limited to 'searx/templates/oscar/search_full.html')
-rw-r--r--searx/templates/oscar/search_full.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/search_full.html b/searx/templates/oscar/search_full.html
index 673f23969..5818286ec 100644
--- a/searx/templates/oscar/search_full.html
+++ b/searx/templates/oscar/search_full.html
@@ -8,8 +8,8 @@
</span>
</div>
- <button type="button" class="btn btn-link btn-collapse center-block collapsed" data-toggle="collapse" data-target="#search_categories" data-btn-text-collapsed="{{ _('Show search filters') }}" data-btn-text-not-collapsed="{{ _('Hide search filters') }}">{{ _('Show search filters') }}</button>
- <div class="row collapse" id="search_categories">
+ <button type="button" class="btn btn-link btn-collapse center-block collapsed hide_if_nojs" data-toggle="collapse" data-target="#search_categories" data-btn-text-collapsed="{{ _('Show search filters') }}" data-btn-text-not-collapsed="{{ _('Hide search filters') }}">{{ _('Show search filters') }}</button>
+ <div class="row collapse active_if_nojs margin_top_if_nojs" id="search_categories">
<div class="col-md-12 text-center">
{% include 'oscar/categories.html' %}
</div>