|
|
@ -32,7 +32,7 @@
|
|
|
|
* `table` is a DataTable's API instance.
|
|
|
|
* `table` is a DataTable's API instance.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* For more detailed information please see:
|
|
|
|
* For more detailed information please see:
|
|
|
|
* http://datatables.net/blog/
|
|
|
|
* http://datatables.net/blog/2015-04-10
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
(function($){
|
|
|
|
(function($){
|
|
|
@ -107,14 +107,14 @@ PageResize.prototype = {
|
|
|
|
var height = body.offsetHeight;
|
|
|
|
var height = body.offsetHeight;
|
|
|
|
|
|
|
|
|
|
|
|
this.contentDocument.defaultView.onresize = function () {
|
|
|
|
this.contentDocument.defaultView.onresize = function () {
|
|
|
|
var newHeight = body.offsetHeight;
|
|
|
|
var newHeight = body.clientHeight || body.offsetHeight;
|
|
|
|
|
|
|
|
|
|
|
|
if ( newHeight !== height ) {
|
|
|
|
if ( newHeight !== height ) {
|
|
|
|
height = newHeight;
|
|
|
|
height = newHeight;
|
|
|
|
|
|
|
|
|
|
|
|
that._size();
|
|
|
|
that._size();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
obj
|
|
|
|
obj
|
|
|
|