mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Fix .messages access
This commit is contained in:
parent
2e0845cbd4
commit
231636cbcc
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class MessagesBootstrap {
|
|||
}
|
||||
|
||||
init() {
|
||||
if (this.gateway.messages.block.enabled) {
|
||||
if (this.gateway.messages?.block?.enabled) {
|
||||
this.discoverBlocks();
|
||||
}
|
||||
jQuery(document.body).on('ppcp_cart_rendered ppcp_checkout_rendered', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue