1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

Release v5.3.2 (#39173)

* Bump version to 5.3.2

* Dist
This commit is contained in:
Julien Déramond
2023-09-14 16:19:27 +02:00
committed by GitHub
parent 317cb2ae09
commit 344e912d04
81 changed files with 252 additions and 228 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Bootstrap selector-engine.js v5.3.1 (https://getbootstrap.com/)
* Bootstrap selector-engine.js v5.3.2 (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)
*/
@@ -33,9 +33,9 @@
if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
}
selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
selector = hrefAttribute && hrefAttribute !== '#' ? index_js.parseSelector(hrefAttribute.trim()) : null;
}
return index_js.parseSelector(selector);
return selector;
};
const SelectorEngine = {
find(selector, element = document.documentElement) {