1jQuery(document).ready(function($) { 2 3 checkout_payment_type(); 4 5 function checkout_payment_type() { 6 $('input[type="radio"][name="afterpay_payment_type"]').on('change',function() { 7 if ($('input[type="radio"][name="afterpay_payment_type"]:checked').val() == "PAD") { 8 $('.afterpay_pad_description').slideDown(300); 9 $('.afterpay_pbi_description').slideUp(300); 10 } else { 11 $('.afterpay_pad_description').slideUp(300); 12 $('.afterpay_pbi_description').slideDown(300); 13 } 14 }); 15 16 $('input[name="afterpay_payment_type"]').trigger('change'); 17 } 18});
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.