logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 31005f3121d1e1c4511ed8bcd151889a46d4ab28
parent a288dd498d1d3e31598fc350a374f813eb26f558
Author: Noémi Ványi <sitbackandwait@gmail.com>
Date:   Thu, 30 Nov 2017 22:33:54 +0100

use `change` function just like in case of language selection

The previous version did not work in Chrome browser.

Closes #1102

Diffstat:

Msearx/static/plugins/js/search_on_category_select.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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(); }