Skip to content

Commit

Permalink
Tweak for OPC caused by Google Chrome update
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmarshall authored and pgmarshall committed Apr 10, 2016
1 parent 9386704 commit bb1e361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/includes/checkout/checkout.js
Expand Up @@ -1146,7 +1146,7 @@ var checkout = {
if ($('.error_icon:visible', $('#billingAddress')).size() > 0){
errMsg += 'Please correct fields with errors in "Billing Address"' + "\n";
}
if($(':password[name="password"]').val() != '')
if($(':password[name="password"]').is(':visible') && $(':password[name="password"]').val() != '')
{
if($(':password[name="confirmation"]').val() == '' || $(':password[name="confirmation"]').val() != $(':password[name="password"]').val() )
{
Expand Down

0 comments on commit bb1e361

Please sign in to comment.