1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-10 07:00:12 +01:00
searxng/searx/static/themes/oscar/js/searx_src/toggleall.js

11 lines
303 B
JavaScript
Raw Normal View History

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