summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-11-30 22:38:10 +0100
committerGitHub <noreply@github.com>2017-11-30 22:38:10 +0100
commit43855a089786245bf113f278bf42e6c5f636496a (patch)
tree3d53035d0556d2d5a3a3644c18a1b06dfc325ae4
parenta288dd498d1d3e31598fc350a374f813eb26f558 (diff)
parent31005f3121d1e1c4511ed8bcd151889a46d4ab28 (diff)
Merge pull request #1105 from kvch/fix-time-range-selection-in-chrome
Fix time range selection during search
-rw-r--r--searx/static/plugins/js/search_on_category_select.js2
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();
}