diff options
author | Bnyro <bnyro@tutanota.com> | 2024-09-14 11:12:21 +0200 |
---|---|---|
committer | Bnyro <bnyro@tutanota.com> | 2024-09-14 11:13:53 +0200 |
commit | 33c1236923b1779a0cacf9cfe34b789c1d02addf (patch) | |
tree | 994bd65ae0feff4544eb21b94c7e2bd374c349c6 /searx/templates/simple/elements | |
parent | 9e2bfe14db3020a5020491721f8784672c6060f2 (diff) | |
download | searxng-33c1236923b1779a0cacf9cfe34b789c1d02addf.tar.gz searxng-33c1236923b1779a0cacf9cfe34b789c1d02addf.zip |
[fix] search: crash when no engines are used to search
Diffstat (limited to 'searx/templates/simple/elements')
-rw-r--r-- | searx/templates/simple/elements/engines_msg.html | 2 |
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 %} |