mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #1900 from woocommerce/PCP-2177-uniform-smart-button-display-for-pay-pal-google-pay-and-apple-pay
Uniform Smart Button Display for PayPal, Google Pay, and Apple Pay (2177)
This commit is contained in:
commit
ea23d09010
19 changed files with 251 additions and 104 deletions
|
@ -15,9 +15,6 @@ document.addEventListener(
|
|||
|
||||
jQuery( '*[data-ppcp-display]' ).each( (index, el) => {
|
||||
const rules = jQuery(el).data('ppcpDisplay');
|
||||
|
||||
// console.log('rules', rules);
|
||||
|
||||
for (const rule of rules) {
|
||||
displayManager.addRule(rule);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue