Remove some comments to check for deployment

This commit is contained in:
Rebecca Hsieh 2024-07-18 14:23:17 -07:00
parent 5f89cddd93
commit 05b9be3145
No known key found for this signature in database

View file

@ -657,7 +657,7 @@ function hideDeletedForms() {
}); });
} }
// Checks for if we want to display Urbanization or not // Checks for if we want to display Urbanization or not
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {
var stateTerritoryField = document.querySelector('select[name="organization_contact-state_territory"]'); var stateTerritoryField = document.querySelector('select[name="organization_contact-state_territory"]');
@ -681,10 +681,8 @@ function setupUrbanizationToggle(stateTerritoryField) {
} }
} }
// Initial check
toggleUrbanizationField(); toggleUrbanizationField();
// Add event listener for changes
stateTerritoryField.addEventListener('change', toggleUrbanizationField); stateTerritoryField.addEventListener('change', toggleUrbanizationField);
} }