render buttons after 3 sec delay

This commit is contained in:
Kirill Braslavsky 2021-03-05 18:43:54 +02:00
parent 7d4caeaf2c
commit 52d81b8fde

View file

@ -11,11 +11,16 @@ class CheckoutBootstap {
init() {
setTimeout(() => this.render(), 1000);
setTimeout(() => {
jQuery(document.body).on('updated_checkout', () => {
this.render();
});
jQuery(document.body).on('updated_checkout', () => {
this.render();
});
}, 3000);
jQuery(document.body).
on('updated_checkout payment_method_selected', () => {