mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Use Util.makeArray().
This commit is contained in:
+1
-1
@@ -482,7 +482,7 @@ class Dropdown {
|
||||
return
|
||||
}
|
||||
|
||||
const items = [].slice.call(parent.querySelectorAll(Selector.VISIBLE_ITEMS))
|
||||
const items = Util.makeArray(parent.querySelectorAll(Selector.VISIBLE_ITEMS))
|
||||
|
||||
if (!items.length) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user