diff options
author | Sam Potts <sam@potts.es> | 2018-08-14 09:18:09 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-08-14 09:18:09 +1000 |
commit | 525bbf313ef31964489faf90cda1be6077fc9d6e (patch) | |
tree | ff7741ad369b205a8b8def2335e5dbebe20b6d62 /dist/plyr.polyfilled.js | |
parent | cfaebe9bf26ab21e717007b5402bf799e0320380 (diff) | |
download | plyr-525bbf313ef31964489faf90cda1be6077fc9d6e.tar.lz plyr-525bbf313ef31964489faf90cda1be6077fc9d6e.tar.xz plyr-525bbf313ef31964489faf90cda1be6077fc9d6e.zip |
v3.4.1
Diffstat (limited to 'dist/plyr.polyfilled.js')
-rw-r--r-- | dist/plyr.polyfilled.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/plyr.polyfilled.js b/dist/plyr.polyfilled.js index e7734fcb..a09bb672 100644 --- a/dist/plyr.polyfilled.js +++ b/dist/plyr.polyfilled.js @@ -8370,7 +8370,7 @@ typeof navigator === "object" && (function (global, factory) { // Add pressed property to buttons if (!is$1.empty(this.elements.buttons)) { // Toggle classname when pressed property is set - Object.values(this.elements.buttons).forEach(function (button) { + Object.values(this.elements.buttons).filter(Boolean).forEach(function (button) { var className = _this10.config.classNames.controlPressed; Object.defineProperty(button, 'pressed', { enumerable: true, |