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

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