Update get-gov.js

This commit is contained in:
zandercymatics 2024-07-22 13:13:45 -06:00
parent 682a2c423c
commit 76713e85cc
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1955,7 +1955,7 @@ document.addEventListener('DOMContentLoaded', function() {
* An IIFE that adds the default selection on comboboxes to the input field.
* This is because this action doesn't get fired by the time the page loads
*/
(function finishUserSetupListener() {
(function loadInitialValuesForComboBoxes() {
document.addEventListener('DOMContentLoaded', (event) => {
const comboBoxElements = document.querySelectorAll('.usa-combo-box');
comboBoxElements.forEach(comboBox => {