Module:Equipment/Recommended: Difference between revisions

m
Fix incorrect calculation on remaining row sizes when custom header text is used
(Allow for multiple headers with custom header names)
m (Fix incorrect calculation on remaining row sizes when custom header text is used)
Line 161: Line 161:
else
else
if lastHeader ~= nil then
if lastHeader ~= nil then
lastHeader:attr('colspan', i - 1)
lastHeader:attr('colspan', greatest_row_size - i + 2)
end
end
break
break