More snowflakes!
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
function alignHeadersByHeight(table) {
|
||||
var maxHeight = 0;
|
||||
table.querySelectorAll('h1').forEach(
|
||||
element => maxHeight = Math.max(maxHeight, element.clientHeight)
|
||||
)
|
||||
table.querySelectorAll('h1').forEach(
|
||||
element => element.style.height = maxHeight + 'px'
|
||||
)
|
||||
console.log(maxHeight);
|
||||
}
|
||||
|
||||
var table = document.getElementById("pbic");
|
||||
alignHeadersByHeight(table);
|
Reference in New Issue
Block a user