mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
ipsec/phase1, replace includes for indexOf for https://github.com/opnsense/core/issues/3149
This commit is contained in:
parent
b590033efc
commit
eff447b559
@ -438,7 +438,7 @@ include("head.inc");
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
$("#iketype").change(function(){
|
||||
if (['ike', 'ikev2'].includes($(this).val())) {
|
||||
if (['ike', 'ikev2'].indexOf($(this).val())>= 0) {
|
||||
$("#mode").prop( "disabled", true );
|
||||
$("#mode_tr").hide();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user