dataTables.scrollResize.js

Missing context on _size function. Resulting in errors, when using multiple tables
pull/266/head
Quwink 9 years ago
parent a4479c3976
commit 90150efeda

@ -77,7 +77,7 @@ ScrollResize.prototype = {
availableHeight -= offsetTop;
availableHeight -= settings.container.height() - ( offsetTop + scrollBody.height() );
$('div.dataTables_scrollBody').css( {
$('div.dataTables_scrollBody', t.container()).css( {
maxHeight: availableHeight,
height: availableHeight
} );

Loading…
Cancel
Save