2
0
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:
XhmikosR
2019-02-19 23:52:04 +02:00
parent 9fda96e197
commit 68e6de42ec
5 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -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