2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

When opening the dropdown, focus() the dropdown-toggle BEFORE triggering 'shown.bs.dropdown'

Closes #11281 by merging it (after rebasing & resolving conflicts)
This commit is contained in:
Collin Donahue-Oponski
2013-10-29 19:56:09 -06:00
committed by Chris Rebert
parent 558e112de4
commit d7a3771abd
+2 -2
View File
@@ -40,11 +40,11 @@
if (e.isDefaultPrevented()) return
$this.trigger('focus')
$parent
.toggleClass('open')
.trigger('shown.bs.dropdown', relatedTarget)
$this.trigger('focus')
}
return false