This commit is contained in:
Sam Potts
2018-08-14 12:16:34 +10:00
parent 8fb8ae1260
commit 7dc4d9cd22
13 changed files with 21 additions and 17 deletions

4
dist/plyr.js vendored
View File

@ -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);
}

2
dist/plyr.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long