From b774ee04ba097cf7327cac072704360a37353e4d Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 30 May 2024 14:03:25 +0200 Subject: [mod] enable calculator and allow plugin on public instances Remove quirks that prevented the Calculator from being used on public instances. Signed-off-by: Markus Heiser --- searx/templates/simple/preferences.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/templates/simple/preferences.html') diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 0145dcd0f..9dab84fd1 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -38,7 +38,7 @@ {%- macro plugin_preferences(section) -%} {%- for plugin in plugins -%} -{%- if plugin.preference_section == section and (plugin.is_allowed() if plugin.is_allowed else True) -%} +{%- if plugin.preference_section == section -%}
{{- '' -}} {{ _(plugin.name) }}{{- '' -}}
-- cgit v1.2.3