diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-08-10 18:55:18 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-10-05 19:52:11 +0300 |
commit | 567a41347e0c0d6e46ca59c93887218dcce50ba7 (patch) | |
tree | f4c8e2b3b2694524b024480de5e70615127ed9d4 /js/src/dropdown.js | |
parent | 666fe596bf4629777f995dd79046b1db632ffdfb (diff) |
Fix a `unicorn/no-array-callback-reference` issue
Diffstat (limited to 'js/src/dropdown.js')
-rw-r--r-- | js/src/dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 59809cf5d2..32b587bf1a 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -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 |