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:
parent
5114e98a93
commit
3a27a605b9
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user