diff options
Diffstat (limited to 'vendor/twbs/bootstrap/js/dist/dom/selector-engine.js')
-rw-r--r-- | vendor/twbs/bootstrap/js/dist/dom/selector-engine.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/twbs/bootstrap/js/dist/dom/selector-engine.js b/vendor/twbs/bootstrap/js/dist/dom/selector-engine.js index 6fd8c61d0..993a88f13 100644 --- a/vendor/twbs/bootstrap/js/dist/dom/selector-engine.js +++ b/vendor/twbs/bootstrap/js/dist/dom/selector-engine.js @@ -1,6 +1,6 @@ /*! - * Bootstrap selector-engine.js v5.3.2 (https://getbootstrap.com/) - * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Bootstrap selector-engine.js v5.3.3 (https://getbootstrap.com/) + * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ (function (global, factory) { @@ -33,9 +33,9 @@ if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) { hrefAttribute = `#${hrefAttribute.split('#')[1]}`; } - selector = hrefAttribute && hrefAttribute !== '#' ? index_js.parseSelector(hrefAttribute.trim()) : null; + selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null; } - return selector; + return selector ? selector.split(',').map(sel => index_js.parseSelector(sel)).join(',') : null; }; const SelectorEngine = { find(selector, element = document.documentElement) { |