Skip to content

Commit

Permalink
STRF-7487 rename email input field for reviews to revemail
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-williamkwon committed Oct 11, 2019
1 parent d6f9141 commit 1f6e27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/theme/product/reviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class {
validate: 'presence',
errorMessage: this.context.reviewComment,
}, {
selector: '[name="email"]',
selector: '.writeReview-form [name="email"]',
validate: (cb, val) => {
const result = forms.email(val);
cb(result);
Expand Down

0 comments on commit 1f6e27d

Please sign in to comment.