diff -u b/core/misc/states.es6.js b/core/misc/states.es6.js --- b/core/misc/states.es6.js +++ b/core/misc/states.es6.js @@ -255,9 +255,18 @@ else if ($.isPlainObject(constraints)) { // This constraint is an object (AND). Object.keys(constraints).some((constraint) => { - result = ternary(result, this.checkConstraints(constraints[constraint], selector, constraint)); - // False and anything else will evaluate to false, so return true when - // any false condition is found to break out of the .some loop. + result = ternary( + result, + this.checkConstraints( + constraints[constraint], + selector, + constraint, + ), + ); + /** + * False and anything else will evaluate to false, so return true when + * any false condition is found to break out of the .some loop. + */ if (result === false) { return true; }