diff --git a/commerce_stripe.js b/commerce_stripe.js index bf12ec0..478fb0c 100755 --- a/commerce_stripe.js +++ b/commerce_stripe.js @@ -9,7 +9,7 @@ if (settings.stripe.fetched == null) { settings.stripe.fetched = true; - $('#commerce-checkout-form-checkout #edit-continue, #commerce-checkout-form-review #edit-continue').live('click', function(event) { + $('#commerce-checkout-form-checkout, #commerce-checkout-form-review').delegate('#edit-continue', 'click', function(event) { // Prevent the Stripe actions to be triggered if Stripe is not selected. if ($('#edit-commerce-payment-payment-method-commerce-stripecommerce-payment-commerce-stripe').is(':checked')) {