Skip to content

Commit

Permalink
use .focus instead of trigger('focus') on native JS elements (regress…
Browse files Browse the repository at this point in the history
…ion in 31d765b) (#2226)
  • Loading branch information
caseyjhol committed Mar 12, 2019
1 parent cd1c17f commit 86610ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -2888,7 +2888,7 @@
if (liActive.firstChild) liActive.firstChild.classList.add('active');
that.activeIndex = matches[matchIndex];

liActive.firstChild.trigger('focus');
liActive.firstChild.focus();

if (updateScroll) that.$menuInner[0].scrollTop = offset;

Expand Down

0 comments on commit 86610ad

Please sign in to comment.