diff --git a/features/pageResize/dataTables.pageResize.js b/features/pageResize/dataTables.pageResize.js
index 9f8b3f4..15297f9 100644
--- a/features/pageResize/dataTables.pageResize.js
+++ b/features/pageResize/dataTables.pageResize.js
@@ -100,8 +100,7 @@ PageResize.prototype = {
width: '100%',
zIndex: -1
} )
- .attr( 'type', 'text/html' )
- .attr( 'data', 'about:blank' );
+ .attr( 'type', 'text/html' );
obj[0].onload = function () {
var body = this.contentDocument.body;
@@ -118,7 +117,9 @@ PageResize.prototype = {
}
};
- obj.appendTo( this.s.host );
+ obj
+ .appendTo( this.s.host )
+ .attr( 'data', 'about:blank' );
}
};
diff --git a/features/pageResize/dataTables.pageResize.min.js b/features/pageResize/dataTables.pageResize.min.js
index 162d394..a4141f9 100644
--- a/features/pageResize/dataTables.pageResize.min.js
+++ b/features/pageResize/dataTables.pageResize.min.js
@@ -3,5 +3,5 @@
2014 SpryMedia Ltd - datatables.net/license
*/
(function(c){var e=function(a){var b=a.table();this.s={dt:a,host:c(b.container()).parent(),header:c(b.header()),footer:c(b.footer()),body:c(b.body()),container:c(b.container()),table:c(b.node())};a=this.s.host;"static"===a.css("position")&&a.css("position","relative");this._attach();this._size()};e.prototype={_size:function(){var a=this.s,b=a.dt;b.table();var f=c(a.table).offset().top,e=c("tr",a.body).eq(0).height(),d=a.host.height(),d=d-a.header.height(),d=d-a.footer.height(),d=d-f-(a.container.height()-
-(f+a.table.height())),a=Math.floor(d/e);a!==b.page.len()&&b.page.len(a).draw()},_attach:function(){var a=this,b=c("").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html").attr("data","about:blank");b[0].onload=function(){var b=this.contentDocument.body,c=b.offsetHeight;this.contentDocument.defaultView.onresize=function(){var d=b.offsetHeight;d!==c&&(c=d,a._size())}};b.appendTo(this.s.host)}};c.fn.dataTable.PageResize=e;c.fn.DataTable.PageResize=
+(f+a.table.height())),a=Math.floor(d/e);a!==b.page.len()&&b.page.len(a).draw()},_attach:function(){var a=this,b=c("").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html");b[0].onload=function(){var b=this.contentDocument.body,c=b.offsetHeight;this.contentDocument.defaultView.onresize=function(){var d=b.offsetHeight;d!==c&&(c=d,a._size())}};b.appendTo(this.s.host).attr("data","about:blank")}};c.fn.dataTable.PageResize=e;c.fn.DataTable.PageResize=
e;c(document).on("init.dt",function(a,b){if("dt"===a.namespace){var f=new c.fn.dataTable.Api(b);(c(f.table().node()).hasClass("pageResize")||b.oInit.pageResize||c.fn.dataTable.defaults.pageResize)&&new e(f)}})})(jQuery);