diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js index a18bf8879c0155590a9eac912a190ad5de1c408e..d16c5a044a6a6830536231a885e69115aaefec43 100644 --- a/js/civicrm_stripe.js +++ b/js/civicrm_stripe.js @@ -50,7 +50,7 @@ } else { if (!($('.stripe-payment-form').length)) { - $('#crm-container > form').addClass('stripe-payment-form'); + $('#crm-main-content-wrapper form').addClass('stripe-payment-form'); } } $form = $('form.stripe-payment-form');