1document.addEventListener("DOMContentLoaded", function () { 2 function normalizeItems(container) { 3 const items = container.querySelectorAll(".link-and-download-item-copy"); 4 const heights = []; 5 6 if (!items.length) { 7 return; 8 } 9 10 items.forEach(function (item) { 11 item.style.minHeight = "0"; 12 }); 13 14 items.forEach(function (item) { 15 heights.push(item.offsetHeight); 16 }); 17 18 const tallest = Math.max.apply(null, heights); 19 20 items.forEach(function (item) { 21 item.style.minHeight = `${tallest}px`; 22 }); 23 } 24 25 function normalizeAll() { 26 document 27 .querySelectorAll(".links-and-downloads-block .item-container") 28 .forEach(function (container) { 29 normalizeItems(container); 30 }); 31 } 32 33 normalizeAll(); 34 35 window.addEventListener("resize", normalizeAll); 36 window.addEventListener("orientationchange", normalizeAll); 37});
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.