mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +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()) {
|
||||
return;
|
||||
}
|
||||
if (document.querySelector(this.gateway.hosted_fields.wrapper + '>div')) {
|
||||
document.querySelector(this.gateway.hosted_fields.wrapper + '>div').setAttribute('style', '');
|
||||
}
|
||||
const actionHandler = new CheckoutActionHandler(
|
||||
PayPalCommerceGateway,
|
||||
new ErrorHandler(this.gateway.labels.error.generic),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue