mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
Merge pull request #2167 from scottwallacesh/fix_1552
Add key to settings.yml for opening result links in a new tab
This commit is contained in:
commit
f77ad22d65
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue