diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-04-29 12:02:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 12:02:39 +0000 |
commit | 0f4dbc4eca848d910fb4433e3d1c61fa7fcfa8de (patch) | |
tree | d3b37c89b57aca471cddecaea44f8e9218cc487f /searx/static/themes/oscar/js/searx.js | |
parent | 678d41d75bcdf14b17fa13f69aa323a9f8716faa (diff) | |
parent | 7342806987aec05c50f12e149683609640ba66a0 (diff) | |
download | searxng-0f4dbc4eca848d910fb4433e3d1c61fa7fcfa8de.tar.gz searxng-0f4dbc4eca848d910fb4433e3d1c61fa7fcfa8de.zip |
Merge branch 'master' into uwsgi_static
Diffstat (limited to 'searx/static/themes/oscar/js/searx.js')
-rw-r--r-- | searx/static/themes/oscar/js/searx.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/js/searx.js b/searx/static/themes/oscar/js/searx.js index 927aeb422..9138576f5 100644 --- a/searx/static/themes/oscar/js/searx.js +++ b/searx/static/themes/oscar/js/searx.js @@ -86,6 +86,9 @@ $(document).ready(function(){ }, source: searx.searchResults.ttAdapter() }); + $('#q').bind('typeahead:selected', function(ev, suggestion) { + $("#search_form").submit(); + }); } }); ;/** |