mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
refactor(plugins): query elements without jquery
This commit is contained in:
+1
-1
@@ -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