From: jeresig Date: Thu, 9 Sep 2010 19:42:38 +0000 (-0400) Subject: Make sure that string values are returned from the height/width CSS properties. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=7c8588530abaf4e72154fe1f59c04aae217a32b8;p=jquery.git Make sure that string values are returned from the height/width CSS properties. --- diff --git a/src/css.js b/src/css.js index f263de8..f921258 100644 --- a/src/css.js +++ b/src/css.js @@ -119,7 +119,7 @@ jQuery.each(["height", "width"], function( i, name ) { }); } - return val; + return val + "px"; }, set: function( elem, value ) {