mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03: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