mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-28 14:29:07 +02:00
Add CustomEvent polyfill and a working preventDefault for IE
This commit is contained in:
@@ -85,7 +85,8 @@ class Alert {
|
||||
let parent = false
|
||||
|
||||
if (selector) {
|
||||
parent = document.querySelector(selector)
|
||||
const tmpSelected = SelectorEngine.find(selector)
|
||||
parent = tmpSelected[0]
|
||||
}
|
||||
|
||||
if (!parent) {
|
||||
|
Reference in New Issue
Block a user