1jQuery(document).ready(function() { 2 jQuery(document).on('click','.content-wrapper__image',function(){ 3 var parent = jQuery.closest('.wrapper').siblings('input'); 4 var coupon = parent.attr('value'); 5 if (parent.is(":checked")) { 6 parent.prop("checked", false); 7 jQuery('#modal-checkout-no-team').removeClass('d-none'); 8 jQuery('#modal-checkout-yes-team').addClass('d-none'); 9 jQuery('#modal-checkout-value').removeAttr('value'); 10 } else { 11 parent.prop("checked", true); 12 jQuery('#modal-checkout-no-team').addClass('d-none'); 13 jQuery('#modal-checkout-yes-team').removeClass('d-none'); 14 jQuery('#modal-checkout-value').attr('value', coupon); 15 } 16 }) 17 18 jQuery(document).on('click','#proceedcheckoutmodal .primary-cta', function() { 19 jQuery('.coupon-wrapper').addClass('active'); 20 }) 21 22 // jQuery(document).on('click','button.show-more', function() { 23 // jQuery(this).addClass('d-none'); 24 // jQuery(this).siblings('button.show-less').removeClass('d-none'); 25 // jQuery(this).siblings('.messages').addClass('show-more-messages'); 26 // }) 27 // 28 // jQuery(document).on('click','button.show-less', function() { 29 // jQuery(this).addClass('d-none'); 30 // jQuery(this).siblings('button.show-more').removeClass('d-none'); 31 // jQuery(this).siblings('.messages').removeClass('show-more-messages'); 32 // }) 33 34 // Change button text on click - invite code page 35 jQuery(document).on('click','button.code', function() { 36 jQuery(this).siblings('.code-copied').removeClass('d-none'); 37 }) 38});
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.