1jQuery( document ).ready( function() { 2 jQuery( 'body' ).on( 'click', '.add_to_cart_button', function() { 3 var $addToCartButton = jQuery( this ); 4 5 $addToCartButton.closest( '.product, li' ).find( '.cart-loading' ).find( 'i' ).removeClass( 'awb-icon-check-square-o' ).addClass( 'awb-icon-spinner' ); 6 $addToCartButton.closest( '.product, li' ).find( '.cart-loading' ).fadeIn(); 7 setTimeout( function() { 8 $addToCartButton.closest( '.product, li' ).find( '.cart-loading' ).find( 'i' ).hide().removeClass( 'awb-icon-spinner' ).addClass( 'awb-icon-check-square-o' ).fadeIn(); 9 jQuery( $addToCartButton ).parents( '.fusion-clean-product-image-wrapper, li' ).addClass( 'fusion-item-in-cart' ); 10 }, 2000 ); 11 } ); 12} );
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.