forked from Icycoide/searxng
add disable all and allow all engines button to Oscar preferences
This commit is contained in:
parent
d38952c133
commit
d7d89369cb
4 changed files with 30 additions and 2 deletions
|
@ -357,3 +357,13 @@ $(document).ready(function(){
|
|||
$( this ).off( event );
|
||||
});
|
||||
});
|
||||
;$(document).ready(function(){
|
||||
$("#allow-all-engines").click(function() {
|
||||
$(".onoffswitch-checkbox").each(function() { this.checked = false;});
|
||||
});
|
||||
|
||||
$("#disable-all-engines").click(function() {
|
||||
$(".onoffswitch-checkbox").each(function() { this.checked = true;});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue