diff options
-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 |