Skip to content

Commit

Permalink
Express Checkout - JSv4, ref #997
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Feb 21, 2018
1 parent 2c1194d commit b5fb628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/wc-gateway-paypal-express-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,12 @@ function display_notice_and_disable_marketing_solution() {
var in_context_checkout_part = jQuery(".in_context_checkout_part");
if (jQuery(this).is(':checked') === false) {
jQuery('#woocommerce_paypal_express_show_paypal_credit').closest('tr').show();
jQuery('#woocommerce_paypal_express_checkout_with_pp_button_type').closest('tr').show();
in_context_checkout_part_tr.hide();
in_context_checkout_part.hide();
} else {
jQuery('#woocommerce_paypal_express_show_paypal_credit').closest('tr').hide();
jQuery('#woocommerce_paypal_express_checkout_with_pp_button_type').closest('tr').hide();
in_context_checkout_part_tr.show();
in_context_checkout_part.show();
}
Expand Down

0 comments on commit b5fb628

Please sign in to comment.