mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
Fix a unicorn/no-array-callback-reference issue
This commit is contained in:
+1
-1
@@ -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