Linting and cleanup

This commit is contained in:
zandercymatics 2024-08-12 08:45:58 -06:00
parent 44b8163422
commit 0feb0a7ef8
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 3 additions and 3 deletions

View file

@ -830,7 +830,7 @@ function initializeWidgetOnList(list, parentId) {
if (data.error) { if (data.error) {
// Clear the field if the SO doesn't exist // Clear the field if the SO doesn't exist
$seniorOfficial.val("").trigger("change"); $seniorOfficial.val("").trigger("change");
console.error('Error in AJAX call: ' + data.error); console.error("Error in AJAX call: " + data.error);
return; return;
} }
@ -853,7 +853,7 @@ function initializeWidgetOnList(list, parentId) {
$seniorOfficial.append(userOption).trigger("change"); $seniorOfficial.append(userOption).trigger("change");
} }
}) })
.catch(error => console.error('Error fetching senior official:', error)); .catch(error => console.error("Error fetching senior official: ", error));
} }
function handleStateTerritoryChange(stateTerritory, urbanizationField) { function handleStateTerritoryChange(stateTerritory, urbanizationField) {