core: Adding missing radix for paresInt.

This commit is contained in:
Scott González 2008-04-29 23:26:53 +00:00
parent 2977f3df60
commit ea44348fdb

View File

@ -24,5 +24,5 @@ jQuery.each([ "Height", "Width" ], function(i, name){
function num(elem, prop) { function num(elem, prop) {
elem = elem.jquery ? elem[0] : elem; 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;
} }