aboutsummaryrefslogtreecommitdiff
path: root/js/src/dropdown.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-08-10 18:55:18 +0300
committerXhmikosR <[email protected]>2021-10-05 19:52:11 +0300
commit567a41347e0c0d6e46ca59c93887218dcce50ba7 (patch)
treef4c8e2b3b2694524b024480de5e70615127ed9d4 /js/src/dropdown.js
parent666fe596bf4629777f995dd79046b1db632ffdfb (diff)
downloadbootstrap-567a41347e0c0d6e46ca59c93887218dcce50ba7.tar.xz
bootstrap-567a41347e0c0d6e46ca59c93887218dcce50ba7.zip
Fix a `unicorn/no-array-callback-reference` issue
Diffstat (limited to 'js/src/dropdown.js')
-rw-r--r--js/src/dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 59809cf5d..32b587bf1 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