aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2021-04-19 21:16:30 +1000
committerSam Potts <sam@potts.es>2021-04-19 21:16:30 +1000
commitb93dcc43ad22525354eb89e9e34c601e8a0924e3 (patch)
tree71dee52823d22062801a829945d18d482ed58a10
parent6ff6ff1673204363f787493784ec68b6c1a953e5 (diff)
downloadplyr-b93dcc43ad22525354eb89e9e34c601e8a0924e3.tar.lz
plyr-b93dcc43ad22525354eb89e9e34c601e8a0924e3.tar.xz
plyr-b93dcc43ad22525354eb89e9e34c601e8a0924e3.zip
fix: minor syntax tweak
-rw-r--r--src/js/utils/style.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/utils/style.js b/src/js/utils/style.js
index 7a950f3b..1032ed2a 100644
--- a/src/js/utils/style.js
+++ b/src/js/utils/style.js
@@ -87,7 +87,7 @@ export function setAspectRatio(input) {
}
const [x, y] = ratio;
- const useNative = window.CSS ? window.CSS.supports(`aspect-ratio: ${x} / ${y}`) : false;
+ const useNative = window.CSS ? window.CSS.supports(`aspect-ratio: ${x}/${y}`) : false;
const padding = (100 / x) * y;
if (useNative) {