1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Fix: Scrollbody height in IE7- - use offsetHeight consistently - 9424

This commit is contained in:
Allan Jardine 2012-04-12 09:25:35 +01:00
parent 5114e98a93
commit 3a27a605b9
2 changed files with 2 additions and 2 deletions

View File

@ -3296,7 +3296,7 @@
o.oScroll.iBarWidth : 0; o.oScroll.iBarWidth : 0;
if ( o.nTable.offsetHeight < nScrollBody.offsetHeight ) if ( o.nTable.offsetHeight < nScrollBody.offsetHeight )
{ {
nScrollBody.style.height = _fnStringToCss( $(o.nTable).height()+iExtra ); nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+iExtra );
} }
} }

View File

@ -415,7 +415,7 @@ function _fnScrollDraw ( o )
o.oScroll.iBarWidth : 0; o.oScroll.iBarWidth : 0;
if ( o.nTable.offsetHeight < nScrollBody.offsetHeight ) if ( o.nTable.offsetHeight < nScrollBody.offsetHeight )
{ {
nScrollBody.style.height = _fnStringToCss( $(o.nTable).height()+iExtra ); nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+iExtra );
} }
} }