mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Add CustomEvent polyfill and a working preventDefault for IE
This commit is contained in:
+2
-1
@@ -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