Do not rerender hosted fields on each checkout form field update

This commit is contained in:
dinamiko 2021-07-13 11:55:59 +02:00
parent 2efb300be8
commit a9922f36b1

View file

@ -13,10 +13,6 @@ class CheckoutBootstap {
this.render();
jQuery(document.body).on('updated_checkout', () => {
this.render()
});
jQuery(document.body).
on('updated_checkout payment_method_selected', () => {
this.switchBetweenPayPalandOrderButton()