mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
parent
da84cb6b7a
commit
b59b819ffe
@ -286,7 +286,7 @@ jQuery.extend({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a number was passed in, add 'px' to the (except for certain CSS properties)
|
// If a number was passed in, add 'px' (except for certain CSS properties)
|
||||||
if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
|
if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
|
||||||
value += "px";
|
value += "px";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user