Skip to content

Commit

Permalink
fix pagination logic for 4 -> 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmx committed Nov 28, 2023
1 parent 7ff47f6 commit fa125f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/rfecalc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ window.addEventListener("load", function(){
$('#rxtime').val(0).change();
}
$('#groundeffect').prop("checked", O.getGroundEffect());
$('#groundeffect').removeClass("is-invalid").addClass("is-valid");
$("#dutycycle").val(O.getDutyCycleLabel());
if( O.getDutyCycleLabel() !== "ZZZ" ){
$("#dutycycle").removeClass("is-invalid").addClass("is-valid");
}
$("#dutycyclepct").val(O.getDutyCycle() * 100).change();
}
});
Expand Down

0 comments on commit fa125f9

Please sign in to comment.