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

Fix time range selection during search
This commit is contained in:
Adam Tauber 2017-11-30 22:38:10 +01:00 committed by GitHub
commit 43855a0897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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