From 1bb4fc68963cb7fa095df8a1e6465a08adfd4c8d Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Tue, 26 Feb 2013 21:33:00 +0000 Subject: [PATCH] Dev fix: Typo from a67ff2f --- media/js/jquery.dataTables.js | 2 +- media/src/core/core.sizing.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 61467532..72806450 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -3577,7 +3577,7 @@ .css( 'width', _fnStringToCss( sWidth ) ) .appendTo( nParent ); - var width = n.offsetWidth; + var width = n[0].offsetWidth; n.remove(); return width; diff --git a/media/src/core/core.sizing.js b/media/src/core/core.sizing.js index d933204e..013a0f17 100644 --- a/media/src/core/core.sizing.js +++ b/media/src/core/core.sizing.js @@ -21,7 +21,7 @@ function _fnConvertToWidth ( sWidth, nParent ) .css( 'width', _fnStringToCss( sWidth ) ) .appendTo( nParent ); - var width = n.offsetWidth; + var width = n[0].offsetWidth; n.remove(); return width;