This commit is contained in:
Sam Potts
2018-08-14 09:18:09 +10:00
parent cfaebe9bf2
commit 525bbf313e
13 changed files with 30 additions and 37 deletions

View File

@ -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,