1jQuery(document).ready(function () { 2 set_testimonial_height(); 3}); 4jQuery(window).on('load', function () { 5 set_testimonial_height(); 6}); 7jQuery(window).on('resize', function () { 8 set_testimonial_height(); 9}); 10 11function set_testimonial_height() { 12 if (jQuery(".premio-testimonials-grid .pre-testimonials-content").length) { 13 14 jQuery(".premio-testimonials-grid blockquote").height("auto"); 15 jQuery(".premio-testimonials-grid .pre-testimonials-content").height("auto"); 16 17 jQuery(".premio-testimonials-grid .premio-testimonials-content").each(function () { 18 jQuery(this).find("blockquote").height("auto"); 19 maxHeight = 0; 20 jQuery(this).find("blockquote").each(function () { 21 thisHeight = parseInt(jQuery(this).height()); 22 if (thisHeight > maxHeight) { 23 maxHeight = thisHeight; 24 } 25 }); 26 jQuery(this).find("blockquote").height(maxHeight); 27 }); 28 29 jQuery(".premio-testimonials-grid .premio-testimonials-content").each(function () { 30 jQuery(this).find(".pre-testimonials-content").height("auto"); 31 maxHeight = 0; 32 jQuery(this).find(".pre-testimonials-content").each(function () { 33 thisHeight = parseInt(jQuery(this).height()); 34 if (thisHeight > maxHeight) { 35 maxHeight = thisHeight; 36 } 37 }); 38 jQuery(this).find(".pre-testimonials-content").height(maxHeight); 39 }); 40 } 41}
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.