mirror of https://github.com/searxng/searxng
Merge pull request #1979 from kvch/feature-toggle-all-buttons
Add "Allow all" and "Disable all" to engines tab of Oscar preferencespull/1/head
commit
da02e0b8d8
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