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:
parent
9e6094e792
commit
e69815449a
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -5305,6 +5305,10 @@
|
|||||||
|
|
||||||
if ( typeof s == 'number' )
|
if ( typeof s == 'number' )
|
||||||
{
|
{
|
||||||
|
if ( s < 0 )
|
||||||
|
{
|
||||||
|
return "0px";
|
||||||
|
}
|
||||||
return s+"px";
|
return s+"px";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user