1 2function setEqualHeight() { 3 $('.equal-height-wrapper').each(function() { 4 var heightArray = []; 5 var allbox = $(this).find(".equal-height"); 6 $(allbox).each(function() { 7 $(this).height(""); // remove previously set heights 8 heightArray.push($(this).height()); 9 }); 10 var maxBoxHeight = Math.max.apply(Math, heightArray); 11 $(this).find('.equal-height').css('height', maxBoxHeight); 12 }); 13} 14 15$(function() { 16 $(window).on('resize', setEqualHeight); 17 $(window).on('orientationchange', setEqualHeight); 18 setEqualHeight(); 19});
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.