mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 11:15:05 -05:00
committed by
Oleg Gaidarenko
parent
da84cb6b7a
commit
b59b819ffe
@@ -286,7 +286,7 @@ jQuery.extend({
|
||||
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 ] ) {
|
||||
value += "px";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user