1jQuery(document).ajaxComplete( function( event, xhr, options ) { 2 if( options.url.indexOf( "wc-ajax=update_shipping_method" ) !== -1 ) { 3 if( xhr.statusText != "abort" ) { 4 jQuery( "[name='update_cart']" ).removeAttr( 'disabled' ); 5 jQuery( "[name='update_cart']" ).trigger( 'click' ); 6 } 7 } 8 if( options.url.indexOf( "wc-ajax=get_refreshed_fragments" ) !== -1 ) { 9 if( xhr.statusText != "abort" ) { 10 var choose_option = jQuery('input[name="shipping_method[0]"][checked="checked"]').val(); 11 if(choose_option) { 12 var result = choose_option.split(':'); 13 if(result[0] == "local_pickup") { 14 jQuery('.variation-DeliveryCharges').hide(); 15 } 16 } 17 } 18 } 19 if( options.url.indexOf( "wc-ajax=update_order_review" ) !== -1 ) { 20 if( xhr.statusText != "abort" ) { 21 var choose_option = jQuery('input[name="shipping_method[0]"][checked="checked"]').val(); 22 if(choose_option) { 23 var result = choose_option.split(':'); 24 if(result[0] == "local_pickup") { 25 jQuery('.variation-DeliveryCharges').hide(); 26 } 27 } 28 } 29 } 30 31}); 32jQuery( document ).ready(function() { 33 var choose_option = jQuery('input[name="shipping_method[0]"][checked="checked"]').val(); 34 if(choose_option) { 35 var result = choose_option.split(':'); 36 if(result[0] == "local_pickup") { 37 jQuery('.variation-DeliveryCharges').hide(); 38 } 39 } 40});
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.