Skip to content

Commit c895f11

Browse files
committed
Fix: $.isArray deprecated
1 parent 2aa3728 commit c895f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/selectize.jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $.fn.selectize = function(settings_user) {
7373
var arr = optionsMap[value][field_optgroup];
7474
if (!arr) {
7575
optionsMap[value][field_optgroup] = group;
76-
} else if (!$.isArray(arr)) {
76+
} else if (!Array.isArray(arr)) {
7777
optionsMap[value][field_optgroup] = [arr, group];
7878
} else {
7979
arr.push(group);

0 commit comments

Comments
 (0)