mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 16:29:17 +02:00
automatic search when language is selected
This commit is contained in:
parent
c677aee58a
commit
a11230819f
2 changed files with 6 additions and 1 deletions
|
@ -15,5 +15,10 @@ $(document).ready(function() {
|
|||
$('#search_form').submit();
|
||||
}
|
||||
});
|
||||
$('#language').change(function(e) {
|
||||
if($('#q').val()) {
|
||||
$('#search_form').submit();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue