X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fdimensions.js;h=4dd15446733e6716398b732c5effd8b3c179d98b;hb=ea44348fdb8d039dd74684cdafc6c73430f297b3;hp=e707f83387f3e6a5bd26dd77b42f28b369343d90;hpb=2977f3df60a3fd406bb4fb51a34f1c8ddbbe2af5;p=jquery.git diff --git a/src/dimensions.js b/src/dimensions.js index e707f83..4dd1544 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