Dev fix: Typo from a67ff2f

This commit is contained in:
Allan Jardine
2013-02-26 21:33:00 +00:00
parent a67ff2fadb
commit 1bb4fc6896
2 changed files with 2 additions and 2 deletions

View File

@@ -3577,7 +3577,7 @@
.css( 'width', _fnStringToCss( sWidth ) )
.appendTo( nParent );
var width = n.offsetWidth;
var width = n[0].offsetWidth;
n.remove();
return width;

View File

@@ -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;