mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-30 12:24:10 +01:00
Fixed: Table width calculations need to be done on the outerWidth, rather than 'inner', otherwise things simply don't add up (and IE get's a bit confused - fair enough).
This commit is contained in:
parent
c0cfe5c9e9
commit
537e3e9595
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -5405,7 +5405,7 @@
|
||||
{
|
||||
if ( oSettings.aoColumns[i].bVisible )
|
||||
{
|
||||
iWidth = $(oNodes[iCorrector]).width();
|
||||
iWidth = $(oNodes[iCorrector]).outerWidth();
|
||||
if ( iWidth !== null && iWidth > 0 )
|
||||
{
|
||||
oSettings.aoColumns[i].sWidth = _fnStringToCss( iWidth );
|
||||
|
Loading…
Reference in New Issue
Block a user