summaryrefslogtreecommitdiff
path: root/searx/static/themes/oscar/js/searx.js
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-04-29 12:02:39 +0000
committerGitHub <noreply@github.com>2020-04-29 12:02:39 +0000
commit0f4dbc4eca848d910fb4433e3d1c61fa7fcfa8de (patch)
treed3b37c89b57aca471cddecaea44f8e9218cc487f /searx/static/themes/oscar/js/searx.js
parent678d41d75bcdf14b17fa13f69aa323a9f8716faa (diff)
parent7342806987aec05c50f12e149683609640ba66a0 (diff)
downloadsearxng-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.js3
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();
+ });
}
});
;/**