Selaa lähdekoodia

Merge pull request #1105 from kvch/fix-time-range-selection-in-chrome

Fix time range selection during search
Adam Tauber 7 vuotta sitten
vanhempi
commit
43855a0897
No account linked to committer's email
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      searx/static/plugins/js/search_on_category_select.js

+ 1
- 1
searx/static/plugins/js/search_on_category_select.js Näytä tiedosto

@@ -10,7 +10,7 @@ $(document).ready(function() {
10 10
             }
11 11
             return false;
12 12
         });
13
-        $('#time-range > option').click(function(e) {
13
+        $('#time-range').change(function(e) {
14 14
             if($('#q').val()) {
15 15
                 $('#search_form').submit();
16 16
             }