mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 01:42:36 +02:00
Drop closest from SelectorEngine (#30653)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -50,10 +50,6 @@ const SelectorEngine = {
|
||||
return parents
|
||||
},
|
||||
|
||||
closest(element, selector) {
|
||||
return element.closest(selector)
|
||||
},
|
||||
|
||||
prev(element, selector) {
|
||||
let previous = element.previousElementSibling
|
||||
|
||||
|
Reference in New Issue
Block a user