1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 04:01:40 +01:00

[fix] search: crash when no engines are used to search

This commit is contained in:
Bnyro 2024-09-14 11:12:21 +02:00
parent 9e2bfe14db
commit 33c1236923

View File

@ -1,5 +1,5 @@
<div id="engines_msg"> <div id="engines_msg">
{% if not results and not answers %} {% if (not results and not answers) or not max_response_time %}
<details class="sidebar-collapsable" open> <details class="sidebar-collapsable" open>
<summary class="title" id="engines_msg-title">{{ _('Messages from the search engines') }}</summary> <summary class="title" id="engines_msg-title">{{ _('Messages from the search engines') }}</summary>
{% else %} {% else %}