mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-02 14:24:11 +01:00
Fix: The change in commit 537e3e9595
(537e3e9595
) was incorrect - the column widths should be calculated with width() rather than outerWidth(). This can be seen by the misalignment in the tmp table if it is made visible.
This commit is contained in:
parent
2c2a4754d9
commit
1d651f68a3
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -5601,7 +5601,7 @@
|
||||
{
|
||||
if ( oSettings.aoColumns[i].bVisible )
|
||||
{
|
||||
iWidth = $(oNodes[iCorrector]).outerWidth();
|
||||
iWidth = $(oNodes[iCorrector]).width();
|
||||
if ( iWidth !== null && iWidth > 0 )
|
||||
{
|
||||
oSettings.aoColumns[i].sWidth = _fnStringToCss( iWidth );
|
||||
|
Loading…
Reference in New Issue
Block a user