From: Scott González Date: Tue, 29 Apr 2008 23:26:53 +0000 (+0000) Subject: core: Adding missing radix for paresInt. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=ea44348fdb8d039dd74684cdafc6c73430f297b3;p=jquery.git core: Adding missing radix for paresInt. --- diff --git a/src/dimensions.js b/src/dimensions.js index e707f83..4dd1544 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -24,5 +24,5 @@ jQuery.each([ "Height", "Width" ], function(i, name){ function num(elem, prop) { elem = elem.jquery ? elem[0] : elem; - return elem && parseInt( jQuery.curCSS(elem, prop, true) ) || 0; + return elem && parseInt( jQuery.curCSS(elem, prop, true), 10 ) || 0; } \ No newline at end of file