diff --git a/lib/read/getComputedLength.js b/lib/read/getComputedLength.js index 0c57c3f..b63376c 100644 --- a/lib/read/getComputedLength.js +++ b/lib/read/getComputedLength.js @@ -42,7 +42,7 @@ function getComputedLength(style, prop, element) { var d = parentComputedStyle[prop]; if(d !== undefined) { - d = parseInt(d, 10); + d = parseInt(d); var pct = size / 100; return Math.round(d * pct); }