mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 13:59:06 -04:00
security/acme-client: simplify JS code
This commit is contained in:
parent
09de341f2c
commit
6fcc7f8a5a
1 changed files with 1 additions and 3 deletions
|
|
@ -53,9 +53,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
$("#action\\.type").change(function(){
|
||||
var service_id = 'table_optional_' + $(this).val();
|
||||
$(".table_optional").hide();
|
||||
if (($("#action\\.type").val() == 'configd') || ($("#action\\.type").val() == 'custom')) {
|
||||
$("."+service_id).show();
|
||||
}
|
||||
$("."+service_id).show();
|
||||
});
|
||||
$("#action\\.type").change(function(){
|
||||
$(".method_table").hide();
|
||||
|
|
|
|||
Loading…
Reference in a new issue