1 2jQuery(document).ready(function($){function conditional_payments_trigger(){if(typeof conditional_payments_settings!='undefined'){$.each(conditional_payments_settings.name_address_fields,function(index,value){$(document.body).on('change','input[name="'+value+'"]',function(){$(document.body).trigger('update_checkout')});if(value.indexOf('shipping_')!==-1){var billingValue=value.replace('shipping','billing');if($.inArray(billingValue,conditional_payments_settings.name_address_fields)===-1){$(document.body).on('change','input[name="'+billingValue+'"]',function(){$(document.body).trigger('update_checkout')})}}})}} 3conditional_payments_trigger();$(document.body).on('change','input[name="payment_method"]',function(){if(conditional_payments_settings.disable_payment_method_trigger=='1'){return} 4$(document.body).trigger('update_checkout')})}); 5 6
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.