diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-04-29 23:26:53 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-04-29 23:26:53 +0000 |
commit | ea44348fdb8d039dd74684cdafc6c73430f297b3 (patch) | |
tree | 5a989eb85ade51897f02708f9faee6917c086d32 /src/dimensions.js | |
parent | 2977f3df60a3fd406bb4fb51a34f1c8ddbbe2af5 (diff) | |
download | jquery-ea44348fdb8d039dd74684cdafc6c73430f297b3.tar.gz jquery-ea44348fdb8d039dd74684cdafc6c73430f297b3.zip |
core: Adding missing radix for paresInt.
Diffstat (limited to 'src/dimensions.js')
-rw-r--r-- | src/dimensions.js | 2 |
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 |