diff --git a/DNN Platform/Website/Resources/Shared/components/CountriesRegions/dnn.CountriesRegions.js b/DNN Platform/Website/Resources/Shared/components/CountriesRegions/dnn.CountriesRegions.js index 58b98082f7e..9cb73853476 100644 --- a/DNN Platform/Website/Resources/Shared/components/CountriesRegions/dnn.CountriesRegions.js +++ b/DNN Platform/Website/Resources/Shared/components/CountriesRegions/dnn.CountriesRegions.js @@ -116,13 +116,13 @@ function setupCountryAutoComplete() { } else { clearCountryValue(this); } - }, - focus: function (event, ui) { - event.preventDefault(); - this.value = ui.item.name; - $(this).attr('data-value', ui.item.id); - $(this).attr('data-text', ui.item.name); - } + }, + focus: function (event, ui) { + event.preventDefault(); + this.value = ui.item.name; + $(this).attr('data-value', ui.item.id); + $(this).attr('data-text', ui.item.name); + } }); $('input[data-editor="DnnCountryAutocompleteControl"]').change(function () { if ($(this).val().length < 2) { @@ -143,4 +143,4 @@ Sys.WebForms.PageRequestManager.getInstance().add_endRequest(initCountryRegionCo $(document).ready(function () { initCountryRegionControls(); }); -})(jQuery); \ No newline at end of file +})(jQuery);