Title: JavaScript Selector Update
Last modified: January 16, 2023

---

# JavaScript Selector Update

 *  [mamos01](https://wordpress.org/support/users/mamos01/)
 * (@mamos01)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/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.

 * ![](https://ps.w.org/qty-increment-buttons-for-woocommerce/assets/icon.svg?rev
   =2089227)
 * [Qty Increment Buttons for WooCommerce](https://wordpress.org/plugins/qty-increment-buttons-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qty-increment-buttons-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qty-increment-buttons-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/qty-increment-buttons-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qty-increment-buttons-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qty-increment-buttons-for-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mamos01](https://wordpress.org/support/users/mamos01/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/javascript-selector-update/)
 * Status: not resolved