mirror of https://github.com/searx/searx
Add key to settings.yml for opening result links in a new tab
Closes #1552 Closes #444
This commit is contained in:
parent
4a913247b2
commit
8bcba31e31
|
@ -364,7 +364,7 @@ class Preferences(object):
|
||||||
choices=themes
|
choices=themes
|
||||||
),
|
),
|
||||||
'results_on_new_tab': MapSetting(
|
'results_on_new_tab': MapSetting(
|
||||||
False,
|
settings['ui'].get('results_on_new_tab', False),
|
||||||
map={
|
map={
|
||||||
'0': False,
|
'0': False,
|
||||||
'1': True,
|
'1': True,
|
||||||
|
|
|
@ -25,6 +25,7 @@ ui:
|
||||||
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
|
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
|
||||||
theme_args :
|
theme_args :
|
||||||
oscar_style : logicodev # default style of oscar
|
oscar_style : logicodev # default style of oscar
|
||||||
|
# results_on_new_tab: False # Open result links in a new tab by default
|
||||||
# categories_order :
|
# categories_order :
|
||||||
# - general
|
# - general
|
||||||
# - files
|
# - files
|
||||||
|
|
Loading…
Reference in New Issue