mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-21 13:29:00 +01:00
Fix a unicorn/no-array-callback-reference
issue
This commit is contained in:
parent
666fe596bf
commit
567a41347e
@ -342,7 +342,7 @@ class Dropdown extends BaseComponent {
|
||||
}
|
||||
|
||||
_selectMenuItem({ key, target }) {
|
||||
const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(isVisible)
|
||||
const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(el => isVisible(el))
|
||||
|
||||
if (!items.length) {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user