diff options
author | Noemi Vanyi <sitbackandwait@gmail.com> | 2016-07-25 23:40:31 +0200 |
---|---|---|
committer | Noemi Vanyi <sitbackandwait@gmail.com> | 2016-07-25 23:40:31 +0200 |
commit | 90e74fbb288b2f1df0516d877d3bd239c7800412 (patch) | |
tree | c1547fb10eb90fc81014e1424da814dd0f76f4c5 /searx/static/plugins | |
parent | 16a86416492cd8c0a44116a0195e7c5a3f25a8d6 (diff) | |
download | searxng-90e74fbb288b2f1df0516d877d3bd239c7800412.tar.gz searxng-90e74fbb288b2f1df0516d877d3bd239c7800412.zip |
search on filter select
Diffstat (limited to 'searx/static/plugins')
-rw-r--r-- | searx/static/plugins/js/search_on_category_select.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/static/plugins/js/search_on_category_select.js b/searx/static/plugins/js/search_on_category_select.js index a6dd447a0..19aeef944 100644 --- a/searx/static/plugins/js/search_on_category_select.js +++ b/searx/static/plugins/js/search_on_category_select.js @@ -10,5 +10,10 @@ $(document).ready(function() { } return false; }); + $('#time-range > option').click(function(e) { + if($('#q').val()) { + $('#search_form').submit(); + } + }); } }); |