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 f263de8..f921258 100644 (file)
@@ -119,7 +119,7 @@ jQuery.each(["height", "width"], function( i, name ) {
                                });
                        }
 
-                       return val;
+                       return val + "px";
                },
 
                set: function( elem, value ) {