1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00

Release v5.3.0-alpha3 (#38357)

* Bump version to 5.3.0-alpha3

* Dist
This commit is contained in:
XhmikosR
2023-04-03 10:26:50 +03:00
committed by GitHub
parent c0107d142e
commit ac576614a5
98 changed files with 961 additions and 796 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Bootstrap event-handler.js v5.3.0-alpha2 (https://getbootstrap.com/)
* Bootstrap event-handler.js v5.3.0-alpha3 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -81,7 +81,7 @@
}
function normalizeParameters(originalTypeEvent, handler, delegationFunction) {
const isDelegated = typeof handler === 'string';
// todo: tooltip passes `false` instead of selector, so we need to check
// TODO: tooltip passes `false` instead of selector, so we need to check
const callable = isDelegated ? delegationFunction : handler || delegationFunction;
let typeEvent = getTypeEvent(originalTypeEvent);
if (!nativeEvents.has(typeEvent)) {
@@ -198,11 +198,10 @@
nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();
defaultPrevented = jQueryEvent.isDefaultPrevented();
}
let evt = new Event(event, {
const evt = hydrateObj(new Event(event, {
bubbles,
cancelable: true
});
evt = hydrateObj(evt, args);
}), args);
if (defaultPrevented) {
evt.preventDefault();
}