core: Adding missing radix for paresInt.
[jquery.git] / src / dimensions.js
index e707f83..4dd1544 100644 (file)
@@ -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