mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-25 14:34:43 +00:00
Dropdown: Remove redundant check since the show method already does it
This commit is contained in:
parent
2d32802f53
commit
bff95d55af
1 changed files with 1 additions and 4 deletions
|
|
@ -437,10 +437,7 @@ class Dropdown extends BaseComponent {
|
|||
}
|
||||
|
||||
if (event.key === ARROW_UP_KEY || event.key === ARROW_DOWN_KEY) {
|
||||
if (!isActive) {
|
||||
instance.show()
|
||||
}
|
||||
|
||||
instance.show()
|
||||
instance._selectMenuItem(event)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue