mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Do not rerender hosted fields on each checkout form field update
This commit is contained in:
parent
2efb300be8
commit
a9922f36b1
1 changed files with 0 additions and 4 deletions
|
@ -13,10 +13,6 @@ class CheckoutBootstap {
|
||||||
|
|
||||||
this.render();
|
this.render();
|
||||||
|
|
||||||
jQuery(document.body).on('updated_checkout', () => {
|
|
||||||
this.render()
|
|
||||||
});
|
|
||||||
|
|
||||||
jQuery(document.body).
|
jQuery(document.body).
|
||||||
on('updated_checkout payment_method_selected', () => {
|
on('updated_checkout payment_method_selected', () => {
|
||||||
this.switchBetweenPayPalandOrderButton()
|
this.switchBetweenPayPalandOrderButton()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue