mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Merge pull request #93 from timtucker/patch-9
Update media/src/core/core.scrolling.js
This commit is contained in:
commit
4603ad13d4
@ -385,11 +385,11 @@ function _fnScrollDraw ( o )
|
|||||||
|
|
||||||
/* Apply the calculated minimum width to the table wrappers */
|
/* Apply the calculated minimum width to the table wrappers */
|
||||||
nScrollBody.style.width = _fnStringToCss( iCorrection );
|
nScrollBody.style.width = _fnStringToCss( iCorrection );
|
||||||
nScrollHeadInner.parentNode.style.width = _fnStringToCss( iCorrection );
|
o.nScrollHead.style.width = _fnStringToCss( iCorrection );
|
||||||
|
|
||||||
if ( o.nTFoot !== null )
|
if ( o.nTFoot !== null )
|
||||||
{
|
{
|
||||||
nScrollFootInner.parentNode.style.width = _fnStringToCss( iCorrection );
|
o.nScrollFoot.style.width = _fnStringToCss( iCorrection );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* And give the user a warning that we've stopped the table getting too small */
|
/* And give the user a warning that we've stopped the table getting too small */
|
||||||
@ -408,11 +408,11 @@ function _fnScrollDraw ( o )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
nScrollBody.style.width = _fnStringToCss( '100%' );
|
nScrollBody.style.width = _fnStringToCss( '100%' );
|
||||||
nScrollHeadInner.parentNode.style.width = _fnStringToCss( '100%' );
|
o.nScrollHead.style.width = _fnStringToCss( '100%' );
|
||||||
|
|
||||||
if ( o.nTFoot !== null )
|
if ( o.nTFoot !== null )
|
||||||
{
|
{
|
||||||
nScrollFootInner.parentNode.style.width = _fnStringToCss( '100%' );
|
o.nScrollFoot.style.width = _fnStringToCss( '100%' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user