diff options
author | Sam Potts <sam@potts.es> | 2020-04-29 09:21:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 09:21:32 +1000 |
commit | dda2d072aaaa2047a00cba82505965f89b20aee3 (patch) | |
tree | a98619b86ac317d12c24fa5aff16e42639832d1d /src/js/ui.js | |
parent | 4915cf0120870db4a52b3be117efa22f8ca2bd3e (diff) | |
parent | adb3f359203e7e3e6dad06376f63630f3880fb8f (diff) | |
download | plyr-dda2d072aaaa2047a00cba82505965f89b20aee3.tar.lz plyr-dda2d072aaaa2047a00cba82505965f89b20aee3.tar.xz plyr-dda2d072aaaa2047a00cba82505965f89b20aee3.zip |
Merge pull request #1813 from sampotts/master
Merge back
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/ui.js b/src/js/ui.js index c9ad7d90..d3d6fd69 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -270,7 +270,7 @@ const ui = { // Loop through values (as they are the keys when the object is spread 🤔) Object.values({ ...this.media.style }) // We're only fussed about Plyr specific properties - .filter(key => key.startsWith('--plyr')) + .filter(key => !is.empty(key) && key.startsWith('--plyr')) .forEach(key => { // Set on the container this.elements.container.style.setProperty(key, this.media.style.getPropertyValue(key)); |