aboutsummaryrefslogtreecommitdiffstats
path: root/dist/plyr.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-08-14 12:16:34 +1000
committerSam Potts <sam@potts.es>2018-08-14 12:16:34 +1000
commit7dc4d9cd22a49ba4019671cf703b25b162bcfa19 (patch)
tree6639ccdf23c4645fd189cac70b80069182def6dc /dist/plyr.js
parent8fb8ae126013423c8990893f824e90fc76215028 (diff)
downloadplyr-7dc4d9cd22a49ba4019671cf703b25b162bcfa19.tar.lz
plyr-7dc4d9cd22a49ba4019671cf703b25b162bcfa19.tar.xz
plyr-7dc4d9cd22a49ba4019671cf703b25b162bcfa19.zip
v3.4.3
Diffstat (limited to 'dist/plyr.js')
-rw-r--r--dist/plyr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/plyr.js b/dist/plyr.js
index 9877c8ca..6c6f460d 100644
--- a/dist/plyr.js
+++ b/dist/plyr.js
@@ -2959,8 +2959,8 @@ typeof navigator === "object" && (function (global, factory) {
// Toggle classname when pressed property is set
Object.values(this.elements.buttons).filter(Boolean).forEach(function (button) {
- if (is.array(button)) {
- button.filter(Boolean).forEach(addProperty);
+ if (is.array(button) || is.nodeList(button)) {
+ Array.from(button).filter(Boolean).forEach(addProperty);
} else {
addProperty(button);
}