aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-04-29 23:26:53 +0000
committerScott González <scott.gonzalez@gmail.com>2008-04-29 23:26:53 +0000
commitea44348fdb8d039dd74684cdafc6c73430f297b3 (patch)
tree5a989eb85ade51897f02708f9faee6917c086d32 /src/dimensions.js
parent2977f3df60a3fd406bb4fb51a34f1c8ddbbe2af5 (diff)
downloadjquery-ea44348fdb8d039dd74684cdafc6c73430f297b3.tar.gz
jquery-ea44348fdb8d039dd74684cdafc6c73430f297b3.zip
core: Adding missing radix for paresInt.
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index e707f8338..4dd154467 100644
--- a/src/dimensions.js
+++ b/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;
} \ No newline at end of file