1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 01:42:36 +02:00

Dropdown: get dropdown's parent in one place

This commit is contained in:
GeoSot
2021-12-13 02:10:26 +02:00
committed by XhmikosR
parent 74f24cdf24
commit 5f1c542d67
2 changed files with 8 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ const SelectorEngine = {
return []
},
// TODO: this is now unused; remove later along with prev()
next(element, selector) {
let next = element.nextElementSibling