Skip to content

Commit b370b6f

Browse files
committed
MC-41900: Fix jQuery.isArray()
1 parent 45169c1 commit b370b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/block-chooser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ define([
8484
this.errorMessage(this.messages.UNKOWN_ERROR);
8585

8686
return;
87-
} else if ($.isArray(response)) {
87+
} else if (Array.isArray(response)) {
8888
this.meta({});
8989
this.errorMessage(this.messages.UNKNOWN_SELECTION);
9090

0 commit comments

Comments
 (0)