From 9a0f661207ab81120882d8094253864770e34a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=ADcero=20Pablo=20dos=20Santos?= Date: Thu, 30 Jan 2020 17:45:22 -0300 Subject: [PATCH] hotfix(eslint): redundant radix parameter --- lib/read/getComputedLength.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }