1jQuery( document ).ready( 2 function ( $ ) { 3 $( document ).on( 'meprPriceStringUpdated', function ( event, data ) { 4 // Check if data.price_string exists and has length > 0 5 if ( data.price_string && data.price_string.length > 0 ) { 6 $( 'body .acp-price.price' ).each( function () { 7 var $span = $( this ); 8 var $h3 = $span.closest( 'h3' ); 9 // Construct the new HTML with proper concatenation 10 var html = '<span class="acp-price price">' + 11 data.price_string + 12 '</span>'; 13 $h3.html( html ); 14 } ); 15 } 16 } ); 17 if ( $( '.mepr-signup-form .mepr-coupon-code' ).length ) { 18 let couponInput = $( '.mepr-signup-form .mepr-coupon-code' ); 19 if ( couponInput.val().trim() !== '' ) { 20 couponInput.trigger( 'blur' ); 21 } 22 } 23 } 24);
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.