Skip to content

Commit

Permalink
fix: initialize glossary function on dependent and primary person for…
Browse files Browse the repository at this point in the history
…ms (#4923)
  • Loading branch information
bbodine1 committed Jan 24, 2025
1 parent 574477d commit f998d0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/assets/javascripts/financial_assistance.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Initialize the dependent person form
$(document).on('ajax:success', '#edit-dependent-person', function (event) {
$.inputMasks();
init_glossary();

$('#applicant_same_with_primary').on('click', function () {
if ($(this).is(':checked')) {
Expand Down Expand Up @@ -65,3 +66,8 @@ $(document).on('ajax:success', '#edit-dependent-person', function (event) {
}
});
});

$(document).on('ajax:success', '#primary-person', function (event) {
$.inputMasks();
init_glossary();
});

0 comments on commit f998d0d

Please sign in to comment.