mirror of https://github.com/searxng/searxng
add disable all and allow all engines button to Oscar preferences
parent
d38952c133
commit
d7d89369cb
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
||||
$(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…
Reference in New Issue