mirror of
https://github.com/twbs/bootstrap.git
synced 2025-11-19 00:03:08 -05:00
Merge branch 'main' into ronid1/offcanvas_static_backdrop
This commit is contained in:
commit
6237e89b96
@ -279,8 +279,7 @@ const EventHandler = {
|
|||||||
defaultPrevented = jQueryEvent.isDefaultPrevented()
|
defaultPrevented = jQueryEvent.isDefaultPrevented()
|
||||||
}
|
}
|
||||||
|
|
||||||
let evt = new Event(event, { bubbles, cancelable: true })
|
const evt = hydrateObj(new Event(event, { bubbles, cancelable: true }), args)
|
||||||
evt = hydrateObj(evt, args)
|
|
||||||
|
|
||||||
if (defaultPrevented) {
|
if (defaultPrevented) {
|
||||||
evt.preventDefault()
|
evt.preventDefault()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user