If the header is false, this line gives `undefined`
mmalbergier opened this issue · comments
If header is set to false, the headerHeight has undefined, and then the maxHeight has undefined
This line fixes the issue:
if (typeof(headerHeight) !== 'number') { headerHeight = 0; }