markmalek / Fixed-Header-Table

jQuery plugin for tables with fixed headers
www.fixedheadertable.com
MIT License
930 stars 541 forks source link

Fix exception when settings.width is a number #151

Closed DomenicD closed 7 years ago

DomenicD commented 8 years ago

The API on http://www.fixedheadertable.com/ shows settings.width can be a number. I have confirmed that settings.height can be a number. However, the code assumes that settings.width is a string and does not work when it is a number. This fixes that issue.

markmalek commented 7 years ago

Thanks for this!