Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Fix error JS to stop nulling email field on 2nd step (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyEPhipps authored Jun 17, 2019
1 parent e833cae commit b2a3ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cr_email_signup/js/cr_email_signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
}
$("#edit-firstname").focus();
}
else {
else if($block.hasClass("error--email") ) {
// email input field's id isn't reliable and classname is too generic
$input = $block.find("[name=email]");
$input.val('');
Expand Down

0 comments on commit b2a3ea5

Please sign in to comment.