mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[mod] move plugin static files to static/plugins
This commit is contained in:
parent
ab6a7601cb
commit
4e5af8d87b
2 changed files with 1 additions and 1 deletions
|
@ -1,16 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
if($('#q').length) {
|
||||
$('#categories label').click(function(e) {
|
||||
$('#categories input[type="checkbox"]').each(function(i, checkbox) {
|
||||
$(checkbox).prop('checked', false);
|
||||
});
|
||||
$('#categories label').removeClass('btn-primary').removeClass('active').addClass('btn-default');
|
||||
$(this).removeClass('btn-default').addClass('btn-primary').addClass('active');
|
||||
$($(this).children()[0]).prop('checked', 'checked');
|
||||
if($('#q').val()) {
|
||||
$('#search_form').submit();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue