mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
move to error message
This commit is contained in:
parent
bfa148b753
commit
ec199d2bfc
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ class ErrorHandler {
|
|||
{
|
||||
this.wrapper.classList.add('woocommerce-error');
|
||||
this.wrapper.innerText = this.sanitize(text);
|
||||
jQuery.scroll_to_notices(jQuery('.woocommerce-notices-wrapper'))
|
||||
}
|
||||
|
||||
sanitize(text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue