diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-06-01 09:25:30 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-06-01 09:25:30 +0200 |
| commit | 6fc26775e4aafcf655e493fe0469341bd2b093ef (patch) | |
| tree | 527ed084726f05c94b5377d47650b85e50c8f804 /searx/static/themes/oscar/js/searx_src | |
| parent | f576cadfba11dd96788f5c70e63fba4a70899584 (diff) | |
| parent | 19e32dc686e40f5e7ec1653f4a05aaa75cb17d80 (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
Diffstat (limited to 'searx/static/themes/oscar/js/searx_src')
| -rw-r--r-- | searx/static/themes/oscar/js/searx_src/toggleall.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/js/searx_src/toggleall.js b/searx/static/themes/oscar/js/searx_src/toggleall.js new file mode 100644 index 000000000..b6c484e3e --- /dev/null +++ b/searx/static/themes/oscar/js/searx_src/toggleall.js @@ -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;}); + }); +}); + |