mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-28 06:20:15 +02:00
refactor(plugins): query elements without jquery
This commit is contained in:
@@ -84,7 +84,7 @@ const Alert = (($) => {
|
||||
let parent = false
|
||||
|
||||
if (selector) {
|
||||
parent = $(selector)[0]
|
||||
parent = document.querySelector(selector)
|
||||
}
|
||||
|
||||
if (!parent) {
|
||||
|
Reference in New Issue
Block a user