mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
search on filter select
This commit is contained in:
parent
16a8641649
commit
90e74fbb28
@ -10,5 +10,10 @@ $(document).ready(function() {
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$('#time-range > option').click(function(e) {
|
||||
if($('#q').val()) {
|
||||
$('#search_form').submit();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -1,4 +1,4 @@
|
||||
<select name="time_range">
|
||||
<select name="time_range" id="time-range">
|
||||
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
|
||||
{{ _('Anytime') }}
|
||||
</option>
|
||||
|
Loading…
Reference in New Issue
Block a user