We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa3728 commit c895f11Copy full SHA for c895f11
src/selectize.jquery.js
@@ -73,7 +73,7 @@ $.fn.selectize = function(settings_user) {
73
var arr = optionsMap[value][field_optgroup];
74
if (!arr) {
75
optionsMap[value][field_optgroup] = group;
76
- } else if (!$.isArray(arr)) {
+ } else if (!Array.isArray(arr)) {
77
optionsMap[value][field_optgroup] = [arr, group];
78
} else {
79
arr.push(group);
0 commit comments