1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 05:19:15 +02:00

Remove IE compatibility JS code

This commit is contained in:
Johann-S
2020-03-09 14:34:07 +01:00
committed by XhmikosR
parent bc3f82863b
commit 47aef7b2c6
5 changed files with 7 additions and 83 deletions

View File

@@ -6,7 +6,7 @@
*/
import { getjQuery } from '../util/index'
import { createCustomEvent, defaultPreventedPreservedOnDispatch } from './polyfill'
import { defaultPreventedPreservedOnDispatch } from './polyfill'
/**
* ------------------------------------------------------------------------
@@ -307,7 +307,7 @@ const EventHandler = {
evt = document.createEvent('HTMLEvents')
evt.initEvent(typeEvent, bubbles, true)
} else {
evt = createCustomEvent(event, {
evt = new CustomEvent(event, {
bubbles,
cancelable: true
})