Commit d7a3771a authored by Collin Donahue-Oponski's avatar Collin Donahue-Oponski Committed by Chris Rebert
Browse files

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

Closes #11281 by merging it (after rebasing & resolving conflicts)
parent 558e112d
Showing with 2 additions and 2 deletions
+2 -2
......@@ -40,11 +40,11 @@
if (e.isDefaultPrevented()) return
$this.trigger('focus')
$parent
.toggleClass('open')
.trigger('shown.bs.dropdown', relatedTarget)
$this.trigger('focus')
}
return false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment