mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
core: Adding missing radix for paresInt.
This commit is contained in:
parent
2977f3df60
commit
ea44348fdb
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user