Skip to content

Commit

Permalink
Resolve issues when filling out eTraveler. Closes #339
Browse files Browse the repository at this point in the history
  • Loading branch information
iTerminate committed Dec 11, 2024
1 parent 266dfe3 commit 848552f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/javascripts/traveler.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ $(function() {
currentValue = found[0].value;
if (found[0].inputType === 'radio') {
// Update element to match the value
for (var i = 0; i < inputElements.size(); i++) {
for (var i = 0; i < inputElements.length; i++) {
var ittrInput = inputElements[i];
if (ittrInput.value === currentValue) {
element = ittrInput;
Expand Down Expand Up @@ -510,7 +510,7 @@ $(function() {
var inputs = $this.closest('.control-group-wrap').find('input,textarea');
var input = inputs[0];
if (inputs[0].type === 'radio') {
for (var i = 0; i < inputs.size(); i++) {
for (var i = 0; i < inputs.length; i++) {
var ittr_input = inputs[i];
if (ittr_input.checked) {
input = ittr_input;
Expand Down

0 comments on commit 848552f

Please sign in to comment.