searxngRebrandZaclys/searx/static/themes/oscar/src/js/toggleall.js
2021-03-10 19:28:51 +01:00

11 lines
303 B
JavaScript

$(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;});
});
});