Title: Correct JS file
Last modified: October 12, 2016

---

# Correct JS file

 *  Resolved [tajensen](https://wordpress.org/support/users/tajensen/)
 * (@tajensen)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/correct-js-file/)
 * I was experiencing some irregularities with the cart subtotals updating after
   changing the quantity when more than one item was in the cart. Here is the fix
   on line 2 of the JS file:
 * `$(document).on('change', '.qty', function() {`
 * Please include this in future updates.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [moiseh](https://wordpress.org/support/users/moiseh/)
 * (@moiseh)
 * [9 years ago](https://wordpress.org/support/topic/correct-js-file/#post-8919067)
 * Hi, thanks for the fix!
 * It’s has been fixed in new version 1.2.
 * Sorry for the delay.

Viewing 1 replies (of 1 total)

The topic ‘Correct JS file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-ajax-cart.svg)
 * [WooCommerce Ajax Cart Plugin](https://wordpress.org/plugins/woocommerce-ajax-cart/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-ajax-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-ajax-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-ajax-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-ajax-cart/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [moiseh](https://wordpress.org/support/users/moiseh/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/correct-js-file/#post-8919067)
 * Status: resolved