2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Fix a unicorn/no-array-callback-reference issue

This commit is contained in:
XhmikosR
2021-08-10 18:55:18 +03:00
parent 666fe596bf
commit 567a41347e
+1 -1
View File
@@ -342,7 +342,7 @@ class Dropdown extends BaseComponent {
} }
_selectMenuItem({ key, target }) { _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) { if (!items.length) {
return return