1/** 2 * StoreCustomizer frontend js. 3 * 4 * @package StoreCustomizer/JS 5 */ 6var timeout; 7 8jQuery( document ).ready( function () { 9 10 jQuery( '.woocommerce' ).on( 'change', 'input.qty', function(){ 11 12 if ( timeout !== undefined ) { 13 clearTimeout( timeout ); 14 } 15 16 timeout = setTimeout(function() { 17 jQuery( "[name='update_cart']" ).trigger( "click" ); 18 }, 450 ); 19 20 }); 21 22});
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.