mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
show hosted field grid after paypal is loaded
This commit is contained in:
parent
e900b856d3
commit
f8893f89d5
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ class CheckoutBootstap {
|
||||||
if (!this.shouldRender()) {
|
if (!this.shouldRender()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (document.querySelector(this.gateway.hosted_fields.wrapper + '>div')) {
|
||||||
|
document.querySelector(this.gateway.hosted_fields.wrapper + '>div').setAttribute('style', '');
|
||||||
|
}
|
||||||
const actionHandler = new CheckoutActionHandler(
|
const actionHandler = new CheckoutActionHandler(
|
||||||
PayPalCommerceGateway,
|
PayPalCommerceGateway,
|
||||||
new ErrorHandler(this.gateway.labels.error.generic),
|
new ErrorHandler(this.gateway.labels.error.generic),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue