1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Fixed: Setting a negative width in IE results in an error (fair enough) - so stop this from happening - 2544

This commit is contained in:
Allan Jardine 2010-08-18 09:17:33 +01:00
parent 9e6094e792
commit e69815449a

View File

@ -5305,6 +5305,10 @@
if ( typeof s == 'number' ) if ( typeof s == 'number' )
{ {
if ( s < 0 )
{
return "0px";
}
return s+"px"; return s+"px";
} }