Upgrade Bootstrap to v5.3.0
This commit is contained in:
4
paige/node_modules/bootstrap/js/src/scrollspy.js
generated
vendored
4
paige/node_modules/bootstrap/js/src/scrollspy.js
generated
vendored
@@ -208,11 +208,11 @@ class ScrollSpy extends BaseComponent {
|
||||
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 (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