mirror of https://github.com/searxng/searxng.git
[fix] categories.html: can't select social media category using search on category select
This commit is contained in:
parent
e37d775fa2
commit
75587d03a6
|
@ -26,7 +26,7 @@
|
||||||
{%- if display_tooltip %}<div class="help">{{ _('Click on the magnifier to perform search') }}</div>{% endif -%}
|
{%- if display_tooltip %}<div class="help">{{ _('Click on the magnifier to perform search') }}</div>{% endif -%}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{%- for category in categories_as_tabs -%}{{- '\n' -}}
|
{%- for category in categories_as_tabs -%}{{- '\n' -}}
|
||||||
<button type="submit" name="category_{{ category|replace(' ', '_') }}" class="category category_button {% if category in selected_categories %}selected{% endif %}">
|
<button type="submit" name="category_{{ category }}" class="category category_button {% if category in selected_categories %}selected{% endif %}">
|
||||||
{{- icon_big(category_icons[category]) if category in category_icons else icon_big('globe-outline') -}}
|
{{- icon_big(category_icons[category]) if category in category_icons else icon_big('globe-outline') -}}
|
||||||
<div class="category_name">{{- _(category) -}}</div>{{- '' -}}
|
<div class="category_name">{{- _(category) -}}</div>{{- '' -}}
|
||||||
</button>{{- '' -}}
|
</button>{{- '' -}}
|
||||||
|
|
Loading…
Reference in New Issue