mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-04 00:01:57 -04:00
Compare commits
7 Commits
3b0f85279c
...
26d4fb67d0
Author | SHA1 | Date | |
---|---|---|---|
|
26d4fb67d0 | ||
|
89a87c08be | ||
|
6c70ca10ad | ||
|
b96f5ca751 | ||
|
6d32ecd851 | ||
|
fa712e7d2b | ||
|
cedd335da8 |
@ -419,6 +419,10 @@ class Dropdown extends BaseComponent {
|
||||
SelectorEngine.next(this, SELECTOR_DATA_TOGGLE)[0] ||
|
||||
SelectorEngine.findOne(SELECTOR_DATA_TOGGLE, event.delegateTarget.parentNode))
|
||||
|
||||
if (getToggleButton === null) {
|
||||
return
|
||||
}
|
||||
|
||||
const instance = Dropdown.getOrCreateInstance(getToggleButton)
|
||||
|
||||
if (isUpOrDownEvent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user