Skip to content

Commit

Permalink
Remove _required class from ZIP field
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryshkolnikov committed Dec 9, 2016
1 parent 732d445 commit 74e0829
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function setPostcodeOptional(zipElement, country) {
zipElement.removeClassName('required-entry');
}
zipElement.up('div.field').removeClassName('required');
zipElement.up('div.field').removeClassName('_required');
} else {
zipElement.addClassName('required-entry');
zipElement.up('div.field').addClassName('required');
Expand Down

0 comments on commit 74e0829

Please sign in to comment.