core: Adding missing radix for paresInt.
authorScott González <scott.gonzalez@gmail.com>
Tue, 29 Apr 2008 23:26:53 +0000 (23:26 +0000)
committerScott González <scott.gonzalez@gmail.com>
Tue, 29 Apr 2008 23:26:53 +0000 (23:26 +0000)
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