Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
Correctly remove id from select after it's been converted to autocomp…
Browse files Browse the repository at this point in the history
…lete
  • Loading branch information
matteason committed Jun 23, 2017
1 parent 70b7743 commit a99ea9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/template/javascripts/lite-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LITECommon.countrySelectInitialise = function($countrySelect) {
var autocompleteInput = $("input[ui-autocomplete-id=" + id + "]");
if (autocompleteInput.length > 0) {
autocompleteInput.attr("id", id);
$(this).removeAttr("id");
$countrySelect.removeAttr("id");
}
};

Expand Down

0 comments on commit a99ea9b

Please sign in to comment.