Skip to content

Commit

Permalink
[fix] categories.html: can't select social media category using searc…
Browse files Browse the repository at this point in the history
…h on category select
  • Loading branch information
Bnyro authored and return42 committed Sep 28, 2023
1 parent e37d775 commit 75587d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searx/templates/simple/categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{%- if display_tooltip %}<div class="help">{{ _('Click on the magnifier to perform search') }}</div>{% endif -%}
{%- else -%}
{%- 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') -}}
<div class="category_name">{{- _(category) -}}</div>{{- '' -}}
</button>{{- '' -}}
Expand Down

0 comments on commit 75587d0

Please sign in to comment.