Upgrade Bootstrap to v5.3.0
This commit is contained in:
7
paige/node_modules/bootstrap/js/dist/scrollspy.js
generated
vendored
7
paige/node_modules/bootstrap/js/dist/scrollspy.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Bootstrap scrollspy.js v5.3.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap scrollspy.js v5.3.0 (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)
|
||||
*/
|
||||
@@ -16,6 +16,7 @@
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Constants
|
||||
*/
|
||||
@@ -194,11 +195,11 @@
|
||||
if (!anchor.hash || index_js.isDisabled(anchor)) {
|
||||
continue;
|
||||
}
|
||||
const observableSection = SelectorEngine.findOne(anchor.hash, this._element);
|
||||
const observableSection = SelectorEngine.findOne(decodeURI(anchor.hash), this._element);
|
||||
|
||||
// ensure that the observableSection exists & is visible
|
||||
if (index_js.isVisible(observableSection)) {
|
||||
this._targetLinks.set(anchor.hash, anchor);
|
||||
this._targetLinks.set(decodeURI(anchor.hash), anchor);
|
||||
this._observableSections.set(anchor.hash, observableSection);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user