mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 08:04:59 +02:00
Fix a unicorn/no-array-callback-reference
issue
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user