diff --git a/features/scrollResize/dataTables.scrollResize.js b/features/scrollResize/dataTables.scrollResize.js index ae471d3..a69111f 100644 --- a/features/scrollResize/dataTables.scrollResize.js +++ b/features/scrollResize/dataTables.scrollResize.js @@ -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 } );