mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Hide spinner on card fields loaded
This commit is contained in:
parent
12a9928608
commit
4d56994901
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ class CreditCardRenderer {
|
|||
const cvvField = cardField.CVVField();
|
||||
cvvField.render(cvvFieldContainer);
|
||||
document.getElementById("ppcp-credit-card-gateway-card-cvc").remove();
|
||||
|
||||
document.dispatchEvent(new CustomEvent("hosted_fields_loaded"));
|
||||
}
|
||||
|
||||
gateWayBox.style.display = oldDisplayStyle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue