Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-08-10 18:55:18 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-10-05 19:52:11 +0300
commit567a41347e0c0d6e46ca59c93887218dcce50ba7 (patch)
treef4c8e2b3b2694524b024480de5e70615127ed9d4 /js
parent666fe596bf4629777f995dd79046b1db632ffdfb (diff)
Fix a `unicorn/no-array-callback-reference` issue
Diffstat (limited to '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 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