1(function ($) { 2 $(document).ready(function () { 3 function updateElems() { 4 $('.cp-cp-update').on('keyup', function () { 5 $('.woocommerce-cart-form').find(':input[name="update_cart"]').prop('disabled', false); 6 }); 7 8 $('.cp-cp-update').on('change', function () { 9 $('.woocommerce-cart-form').find(':input[name="update_cart"]').prop('disabled', false); 10 }); 11 } 12 13 $(document).on('updated_cart_totals', function () { 14 updateElems(); 15 }); 16 updateElems(); 17 }); 18})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.