Skip to content

Commit

Permalink
dataTables.scrollResize.js
Browse files Browse the repository at this point in the history
Missing context on _size function. Resulting in errors, when using multiple tables
  • Loading branch information
Quwink committed May 12, 2016
1 parent a4479c3 commit 90150ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/scrollResize/dataTables.scrollResize.js
Expand Up @@ -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
} );
Expand Down

0 comments on commit 90150ef

Please sign in to comment.