Skip to content

Commit

Permalink
Fixed whitespace for consistency
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Dukes <bdukes@engagesoftware.com>
  • Loading branch information
valadas and bdukes committed Oct 15, 2020
1 parent 12bfd6d commit f5660d9
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -143,4 +143,4 @@ Sys.WebForms.PageRequestManager.getInstance().add_endRequest(initCountryRegionCo
$(document).ready(function () {
initCountryRegionControls();
});
})(jQuery);
})(jQuery);

0 comments on commit f5660d9

Please sign in to comment.