mirror of
https://github.com/twbs/bootstrap.git
synced 2025-11-17 00:03:11 -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()
|
||||
}
|
||||
|
||||
let evt = new Event(event, { bubbles, cancelable: true })
|
||||
evt = hydrateObj(evt, args)
|
||||
const evt = hydrateObj(new Event(event, { bubbles, cancelable: true }), args)
|
||||
|
||||
if (defaultPrevented) {
|
||||
evt.preventDefault()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user