aboutsummaryrefslogtreecommitdiffstats
path: root/dist/plyr.polyfilled.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/plyr.polyfilled.js')
-rw-r--r--dist/plyr.polyfilled.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/plyr.polyfilled.js b/dist/plyr.polyfilled.js
index 7d203b9b..34ab28a9 100644
--- a/dist/plyr.polyfilled.js
+++ b/dist/plyr.polyfilled.js
@@ -8386,8 +8386,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$1.array(button)) {
- button.filter(Boolean).forEach(addProperty);
+ if (is$1.array(button) || is$1.nodeList(button)) {
+ Array.from(button).filter(Boolean).forEach(addProperty);
} else {
addProperty(button);
}