diff --git a/pwnagotchi/ui/web/templates/plugins.html b/pwnagotchi/ui/web/templates/plugins.html index e96d24454..82714d58e 100644 --- a/pwnagotchi/ui/web/templates/plugins.html +++ b/pwnagotchi/ui/web/templates/plugins.html @@ -7,13 +7,13 @@ {% block script %} $(function(){ - $("input[type=checkbox]").change(function(e) { + $('input[type=checkbox]').change(function(e) { var checkbox = $(this); - var form = checkbox.closest("form"); + var form = checkbox.closest('form'); var url = form.attr('action'); $.ajax({ - type: "POST", + type: 'POST', url: url, data: form.serialize(), success: function(data) { @@ -28,7 +28,9 @@ {% block content %}