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:
Emili Castells 2023-12-14 09:56:11 +01:00 committed by GitHub
commit ea23d09010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 251 additions and 104 deletions

View file

@ -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);
}