diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2017-11-30 22:33:54 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2017-11-30 22:33:54 +0100 |
commit | 31005f3121d1e1c4511ed8bcd151889a46d4ab28 (patch) | |
tree | 3d53035d0556d2d5a3a3644c18a1b06dfc325ae4 /searx | |
parent | a288dd498d1d3e31598fc350a374f813eb26f558 (diff) | |
download | searxng-31005f3121d1e1c4511ed8bcd151889a46d4ab28.tar.gz searxng-31005f3121d1e1c4511ed8bcd151889a46d4ab28.zip |
use `change` function just like in case of language selection
The previous version did not work in Chrome browser.
Closes #1102
Diffstat (limited to 'searx')
-rw-r--r-- | searx/static/plugins/js/search_on_category_select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/plugins/js/search_on_category_select.js b/searx/static/plugins/js/search_on_category_select.js index a76fd1266..1c42d9e9e 100644 --- a/searx/static/plugins/js/search_on_category_select.js +++ b/searx/static/plugins/js/search_on_category_select.js @@ -10,7 +10,7 @@ $(document).ready(function() { } return false; }); - $('#time-range > option').click(function(e) { + $('#time-range').change(function(e) { if($('#q').val()) { $('#search_form').submit(); } |