]> source.dussan.org Git - jquery.git/commitdiff
Make sure that string values are returned from the height/width CSS properties.
authorjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 19:42:38 +0000 (15:42 -0400)
committerjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 19:42:38 +0000 (15:42 -0400)
src/css.js

index f263de87dc6aaab6740372e710cf5fd538ea3392..f92125819c3d91267586e6f4ee37e28452bef375 100644 (file)
@@ -119,7 +119,7 @@ jQuery.each(["height", "width"], function( i, name ) {
                                });
                        }
 
-                       return val;
+                       return val + "px";
                },
 
                set: function( elem, value ) {