Skip to content

Commit

Permalink
Added same fix to dist/js/selectize.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Negri committed Jan 17, 2014
1 parent 3275c4f commit d4d208f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dist/js/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,11 @@
self.isFocused = false;
if (self.ignoreFocus) return;

if (document.activeElement === self.$dropdown_content[0]) {
self.$control_input.focus();
return;
}

if (self.settings.create && self.settings.createOnBlur) {
self.createItem();
}
Expand Down Expand Up @@ -2745,4 +2750,4 @@
});

return Selectize;
}));
}));

0 comments on commit d4d208f

Please sign in to comment.