2,894
edits
(Attempting to fix error) |
(Added semicolon?) |
||
Line 11: | Line 11: | ||
let firstHeight = 0; | let firstHeight = 0; | ||
if (firstRow.length > 0) { | if (firstRow.length > 0) { | ||
firstHeight = firstRow[0].offsetHeight | firstHeight = firstRow[0].offsetHeight; | ||
const firstHeaders = firstRow[0].getElementsByTagName('th'); | const firstHeaders = firstRow[0].getElementsByTagName('th'); | ||
for (let j = 0; j < firstHeaders.length; j++) { | for (let j = 0; j < firstHeaders.length; j++) { |