Skip to content

Commit

Permalink
Issue #3419730 by catch, Spokje: [jQuery 4] TypeError: $.isArray is n…
Browse files Browse the repository at this point in the history
…ot a function at states.Dependent.verifyConstraints
  • Loading branch information
longwave committed Feb 7, 2024
1 parent e2fd56b commit 7bdf69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/states.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
*/
verifyConstraints(constraints, selector) {
let result;
if ($.isArray(constraints)) {
if (Array.isArray(constraints)) {
// This constraint is an array (OR or XOR).
const hasXor = $.inArray('xor', constraints) === -1;
const len = constraints.length;
Expand Down

0 comments on commit 7bdf69b

Please sign in to comment.