Merge branch 'focus-event' of https://github.com/nino-s/select2 into hotfix
This commit is contained in:
commit
ca4de9dcb0
1 changed files with 1 additions and 1 deletions
2
src/js/select2/dropdown/search.js
vendored
2
src/js/select2/dropdown/search.js
vendored
|
@ -63,7 +63,7 @@ define([
|
||||||
});
|
});
|
||||||
|
|
||||||
container.on('focus', function () {
|
container.on('focus', function () {
|
||||||
if (container.isOpen()) {
|
if (!container.isOpen()) {
|
||||||
self.$search.focus();
|
self.$search.focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue