]> source.dussan.org Git - jquery.git/commitdiff
CSS: Removed redundant "to the number" in comment
authorAurelio De Rosa <aurelioderosa@gmail.com>
Tue, 10 Jun 2014 21:26:35 +0000 (22:26 +0100)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 2 Sep 2014 16:12:35 +0000 (20:12 +0400)
Closes gh-1594

src/css.js

index fc4524ed0246eb2ccda37054cb21e544e339fdb6..94a1d234f143d57bd703d16465a374831d269623 100644 (file)
@@ -283,7 +283,7 @@ jQuery.extend({
                                return;
                        }
 
-                       // If a number, 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";
                        }