mirror of
https://github.com/DataTables/DataTables.git
synced 2026-04-25 03:00:08 -04:00
Dev fix: Typo from a67ff2f
This commit is contained in:
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user