Permalink
Browse files

Dev fix: Typo from a67ff2f

  • Loading branch information...
1 parent a67ff2f commit 1bb4fc68963cb7fa095df8a1e6465a08adfd4c8d @DataTables committed Feb 26, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 media/js/jquery.dataTables.js
  2. +1 −1 media/src/core/core.sizing.js
@@ -3577,7 +3577,7 @@
.css( 'width', _fnStringToCss( sWidth ) )
.appendTo( nParent );
- var width = n.offsetWidth;
+ var width = n[0].offsetWidth;
n.remove();
return width;
@@ -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;

0 comments on commit 1bb4fc6

Please sign in to comment.