[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
1 changed files with 1 additions and 1 deletions

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 %}