summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-09-14 11:12:21 +0200
committerBnyro <bnyro@tutanota.com>2024-09-14 11:13:53 +0200
commit33c1236923b1779a0cacf9cfe34b789c1d02addf (patch)
tree994bd65ae0feff4544eb21b94c7e2bd374c349c6 /searx/templates
parent9e2bfe14db3020a5020491721f8784672c6060f2 (diff)
downloadsearxng-33c1236923b1779a0cacf9cfe34b789c1d02addf.tar.gz
searxng-33c1236923b1779a0cacf9cfe34b789c1d02addf.zip
[fix] search: crash when no engines are used to search
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/elements/engines_msg.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/elements/engines_msg.html b/searx/templates/simple/elements/engines_msg.html
index 8ce784582..7a843ac14 100644
--- a/searx/templates/simple/elements/engines_msg.html
+++ b/searx/templates/simple/elements/engines_msg.html
@@ -1,5 +1,5 @@
<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>
<summary class="title" id="engines_msg-title">{{ _('Messages from the search engines') }}</summary>
{% else %}