Update src/registrar/assets/js/get-gov-admin.js

Co-authored-by: Rachid Mrad <107004823+rachidatecs@users.noreply.github.com>
This commit is contained in:
zandercymatics 2024-10-30 08:05:06 -06:00 committed by GitHub
parent 7e2e75d105
commit d0aff60db0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ function handleSuborganizationFields(
suborgCitySelector=".field-suborganization_city",
suborgStateTerritorySelector=".field-suborganization_state_territory"
) {
// These dropdown arecselect2 fields so they must be interacted with via jquery
// These dropdown are select2 fields so they must be interacted with via jquery
const portfolioDropdown = django.jQuery(portfolioDropdownSelector)
const suborganizationDropdown = django.jQuery(suborgDropdownSelector)
const requestedSuborgField = document.querySelector(requestedSuborgFieldSelector);