1
0
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:
Johann-S
2017-08-21 17:43:04 +02:00
committed by XhmikosR
parent d6560bbc81
commit 744071040e
2 changed files with 57 additions and 1 deletions

View File

@@ -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) {