Skip to content

Commit 702761d

Browse files
authored
Merge pull request #1150 from mpokrywka/master
Improve IE11 fix not to throw errors when element cannot be focused
2 parents 51cb5c2 + d4233b3 commit 702761d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/selectize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ $.extend(Selectize.prototype, {
646646
self.refreshState();
647647

648648
// IE11 bug: element still marked as active
649-
dest && dest.focus();
649+
dest && dest.focus && dest.focus();
650650

651651
self.ignoreFocus = false;
652652
self.trigger('blur');

0 commit comments

Comments
 (0)