mirror of https://github.com/twbs/bootstrap.git
Merge 6245598d4c
into 4c98145482
This commit is contained in:
commit
ce6d098948
|
@ -418,6 +418,9 @@ class Dropdown extends BaseComponent {
|
|||
(SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE)[0] ||
|
||||
SelectorEngine.next(this, SELECTOR_DATA_TOGGLE)[0] ||
|
||||
SelectorEngine.findOne(SELECTOR_DATA_TOGGLE, event.delegateTarget.parentNode))
|
||||
if (!getToggleButton) {
|
||||
return
|
||||
}
|
||||
|
||||
const instance = Dropdown.getOrCreateInstance(getToggleButton)
|
||||
|
||||
|
|
Loading…
Reference in New Issue