JavaScript Selector Update
-
Hello. Thank you for the plugin! I wanted to let you know that WordPress’ texturizer is messing up the CSS selector in JS on the plus and minus buttons in the archive view. It is adding additional <p> tags making this selector on line 527 of qty-increment-buttons-for-woocommerce.php
var qty = $( this ).siblings( “.quantity” ).find( “.qty” );
Not work. To fix it I replaced it with:
var qty = $( this ).parents(“.qib-container”).first().find( “.qty” );
Having that fix in the upcoming release would be excellent. Thank you!
- The topic ‘JavaScript Selector Update’ is closed to new replies.