summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorScott Wallace <scott@wallace.sh>2020-09-01 17:41:48 +0100
committerScott Wallace <scott@wallace.sh>2020-09-01 18:10:24 +0100
commit8bcba31e3198ee12345278620a5f9af9ec8adb99 (patch)
treea48aa9546491107c62f6c473fbc287003511b874 /searx/preferences.py
parent4a913247b29286299e678e0756119fb62293760f (diff)
downloadsearxng-8bcba31e3198ee12345278620a5f9af9ec8adb99.tar.gz
searxng-8bcba31e3198ee12345278620a5f9af9ec8adb99.zip
Add key to settings.yml for opening result links in a new tab
Closes #1552 Closes #444
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index cb33bc5aa..82b8f5224 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -364,7 +364,7 @@ class Preferences(object):
choices=themes
),
'results_on_new_tab': MapSetting(
- False,
+ settings['ui'].get('results_on_new_tab', False),
map={
'0': False,
'1': True,