Skip to content
Permalink
Browse files

core: Adding missing radix for paresInt.

  • Loading branch information
scottgonzalez committed Apr 29, 2008
1 parent 2977f3d commit ea44348fdb8d039dd74684cdafc6c73430f297b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit ea44348

Please sign in to comment.
You can’t perform that action at this time.