Skip to content

Commit

Permalink
Merge pull request #1224 from angelleye/PFW-283
Browse files Browse the repository at this point in the history
Braintree Drop-in Payment UI Issue, PFW-283
  • Loading branch information
Andrew Angell committed Oct 25, 2018
2 parents e833bf4 + 30964dd commit c5898ae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions classes/wc-gateway-braintree-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,6 @@ function is_angelleye_braintree_selected() {
$('.braintree-token', ccForm).remove();
$('.woocommerce-error').remove();
$('.is_submit').remove();
unique_form_for_validation.prepend('<ul class="woocommerce-error"><li>' + err + '</li></ul>');
$form.unblock();
var scrollElement = $( '.woocommerce-error' );
if ( ! scrollElement.length ) {
scrollElement = $( '.form.checkout' );
}
$.scroll_to_notices( scrollElement );
return false;
}
<?php if($this->threed_secure_enabled === true) { ?>
Expand Down

0 comments on commit c5898ae

Please sign in to comment.