mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
This commit is contained in:
commit
a3431d59d3
19 changed files with 65 additions and 27 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;});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
4
searx/static/themes/oscar/js/searx.min.js
vendored
4
searx/static/themes/oscar/js/searx.min.js
vendored
File diff suppressed because one or more lines are too long
10
searx/static/themes/oscar/js/searx_src/toggleall.js
Normal file
10
searx/static/themes/oscar/js/searx_src/toggleall.js
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue