Merge branch 'trunk' into PCP-359-customer-details-not-available-i

This commit is contained in:
dinamiko 2021-11-26 15:30:26 +01:00
commit b3b1237247
12 changed files with 468 additions and 44 deletions

View file

@ -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 = '';
}
}