diff options
author | Sam Potts <sam@potts.es> | 2019-06-01 18:45:07 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2019-06-01 18:45:07 +1000 |
commit | c9055f391b3782d96d16fb6efa4337dc90120635 (patch) | |
tree | 6cd7d1fc8627bbe62f4f714a99fe3cd2ec49db09 /src/js/utils/style.js | |
parent | 5ddd9e02def654bb677c988403dbefbc4a32787c (diff) | |
download | plyr-c9055f391b3782d96d16fb6efa4337dc90120635.tar.lz plyr-c9055f391b3782d96d16fb6efa4337dc90120635.tar.xz plyr-c9055f391b3782d96d16fb6efa4337dc90120635.zip |
Linting changes
Diffstat (limited to 'src/js/utils/style.js')
-rw-r--r-- | src/js/utils/style.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/js/utils/style.js b/src/js/utils/style.js index e51892e5..6f3069c9 100644 --- a/src/js/utils/style.js +++ b/src/js/utils/style.js @@ -64,7 +64,6 @@ export function setAspectRatio(input) { } const ratio = getAspectRatio.call(this, input); - const [w, h] = is.array(ratio) ? ratio : [0, 0]; const padding = (100 / w) * h; |