summaryrefslogtreecommitdiff
path: root/searx/templates/simple
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-05-30 14:03:25 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-09-03 18:36:28 +0200
commitb774ee04ba097cf7327cac072704360a37353e4d (patch)
treef4197e979f2f4b6d7907412f365d1a3ce2454701 /searx/templates/simple
parent3a3ff8f02092491c159a76e76dd50f1b6fcadc70 (diff)
downloadsearxng-b774ee04ba097cf7327cac072704360a37353e4d.tar.gz
searxng-b774ee04ba097cf7327cac072704360a37353e4d.zip
[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 <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/simple')
-rw-r--r--searx/templates/simple/preferences.html2
1 files changed, 1 insertions, 1 deletions
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 -%}
<fieldset>{{- '' -}}
<legend>{{ _(plugin.name) }}</legend>{{- '' -}}
<div class="value">