diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-09-04 15:56:46 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-09-04 15:57:43 +0200 |
commit | b4b02316173c911f2b12d7c41b9729b28bc9c32c (patch) | |
tree | a1ae565beb913744ef51634f054687c00439ae70 /searx/preferences.py | |
parent | 7591c8bfe314b82262c49373e7c26fe5c333d671 (diff) | |
download | searxng-b4b02316173c911f2b12d7c41b9729b28bc9c32c.tar.gz searxng-b4b02316173c911f2b12d7c41b9729b28bc9c32c.zip |
[fix] links in new tabs without js ++ noopener bug fix - closes #674
Diffstat (limited to 'searx/preferences.py')
-rw-r--r-- | searx/preferences.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py index e19ae7502..ed7b6f6cd 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -227,7 +227,8 @@ class Preferences(object): 'safesearch': MapSetting(settings['search']['safe_search'], map={'0': 0, '1': 1, '2': 2}), - 'theme': EnumStringSetting(settings['ui']['default_theme'], choices=themes)} + 'theme': EnumStringSetting(settings['ui']['default_theme'], choices=themes), + 'results_on_new_tab': MapSetting(False, map={'0': False, '1': True})} self.engines = EnginesSetting('engines', choices=engines) self.plugins = PluginsSetting('plugins', choices=plugins) |