summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index abbbce950..ca4a3e101 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -376,6 +376,8 @@ def render(template_name, override_theme=None, **kwargs):
kwargs['unicode'] = unicode
+ kwargs['preferences'] = request.preferences
+
kwargs['scripts'] = set()
for plugin in request.user_plugins:
for script in plugin.js_dependencies: