mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge branch 'trunk' into PCP-359-customer-details-not-available-i
This commit is contained in:
commit
b3b1237247
12 changed files with 468 additions and 44 deletions
|
@ -73,11 +73,11 @@ class ErrorHandler {
|
|||
|
||||
clear()
|
||||
{
|
||||
if (! this.wrapper.classList.contains('woocommerce-error')) {
|
||||
if (this.messagesList === null) {
|
||||
return;
|
||||
}
|
||||
this.wrapper.classList.remove('woocommerce-error');
|
||||
this.wrapper.innerText = '';
|
||||
|
||||
this.messagesList.innerHTML = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue