diff options
author | Mario <mario@mariovavti.com> | 2023-04-28 19:02:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-04-28 19:02:23 +0000 |
commit | 2a1341b910dfb1187dd9fceebd2b3be14e825e28 (patch) | |
tree | f2f5a26394d0a1a905823dd71b620e9c964fb155 /vendor/twbs/bootstrap/js/src/dom | |
parent | 1ed8b9dd149b9d2cb2fe30dc56ddc24cc523255c (diff) | |
download | volse-hubzilla-2a1341b910dfb1187dd9fceebd2b3be14e825e28.tar.gz volse-hubzilla-2a1341b910dfb1187dd9fceebd2b3be14e825e28.tar.bz2 volse-hubzilla-2a1341b910dfb1187dd9fceebd2b3be14e825e28.zip |
update bootstrap
Diffstat (limited to 'vendor/twbs/bootstrap/js/src/dom')
-rw-r--r-- | vendor/twbs/bootstrap/js/src/dom/data.js | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/js/src/dom/event-handler.js | 7 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/js/src/dom/manipulator.js | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/js/src/dom/selector-engine.js | 2 |
4 files changed, 6 insertions, 7 deletions
diff --git a/vendor/twbs/bootstrap/js/src/dom/data.js b/vendor/twbs/bootstrap/js/src/dom/data.js index d60d0feda..407f67e39 100644 --- a/vendor/twbs/bootstrap/js/src/dom/data.js +++ b/vendor/twbs/bootstrap/js/src/dom/data.js @@ -1,6 +1,6 @@ /** * -------------------------------------------------------------------------- - * Bootstrap (v5.3.0-alpha1): dom/data.js + * Bootstrap dom/data.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ diff --git a/vendor/twbs/bootstrap/js/src/dom/event-handler.js b/vendor/twbs/bootstrap/js/src/dom/event-handler.js index 23c44447a..561d8751d 100644 --- a/vendor/twbs/bootstrap/js/src/dom/event-handler.js +++ b/vendor/twbs/bootstrap/js/src/dom/event-handler.js @@ -1,6 +1,6 @@ /** * -------------------------------------------------------------------------- - * Bootstrap (v5.3.0-alpha1): dom/event-handler.js + * Bootstrap dom/event-handler.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ @@ -128,7 +128,7 @@ function findHandler(events, callable, delegationSelector = null) { 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) @@ -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() diff --git a/vendor/twbs/bootstrap/js/src/dom/manipulator.js b/vendor/twbs/bootstrap/js/src/dom/manipulator.js index 6bc5d197c..dd86a9ffb 100644 --- a/vendor/twbs/bootstrap/js/src/dom/manipulator.js +++ b/vendor/twbs/bootstrap/js/src/dom/manipulator.js @@ -1,6 +1,6 @@ /** * -------------------------------------------------------------------------- - * Bootstrap (v5.3.0-alpha1): dom/manipulator.js + * Bootstrap dom/manipulator.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ diff --git a/vendor/twbs/bootstrap/js/src/dom/selector-engine.js b/vendor/twbs/bootstrap/js/src/dom/selector-engine.js index 49b8f38d6..3cecf6f40 100644 --- a/vendor/twbs/bootstrap/js/src/dom/selector-engine.js +++ b/vendor/twbs/bootstrap/js/src/dom/selector-engine.js @@ -1,6 +1,6 @@ /** * -------------------------------------------------------------------------- - * Bootstrap (v5.3.0-alpha1): dom/selector-engine.js + * Bootstrap dom/selector-engine.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ |