Upgrade Bootstrap to v5.3.0

This commit is contained in:
Will Faught
2023-06-20 12:05:19 -07:00
parent 3d586053a6
commit 0478383baa
114 changed files with 681 additions and 702 deletions

View File

@@ -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)
}
}