From 90150efedafe38598ee0268f4e65b3d639474f1c Mon Sep 17 00:00:00 2001 From: Quwink Date: Thu, 12 May 2016 15:28:40 +0200 Subject: [PATCH] dataTables.scrollResize.js Missing context on _size function. Resulting in errors, when using multiple tables --- features/scrollResize/dataTables.scrollResize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } );