aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/js/dist/scrollspy.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-02 16:36:57 +0000
committerMario <mario@mariovavti.com>2023-06-02 19:35:23 +0000
commit51266138250d017951b588050860872ca42367a4 (patch)
treeb19630763ef8a46d53dfeb8038832d1199054fde /vendor/twbs/bootstrap/js/dist/scrollspy.js
parent07097d2fa3cfe38a199ce4b3f9647aacc05f35e3 (diff)
downloadvolse-hubzilla-51266138250d017951b588050860872ca42367a4.tar.gz
volse-hubzilla-51266138250d017951b588050860872ca42367a4.tar.bz2
volse-hubzilla-51266138250d017951b588050860872ca42367a4.zip
update bootstrap to version 5.3
Diffstat (limited to 'vendor/twbs/bootstrap/js/dist/scrollspy.js')
-rw-r--r--vendor/twbs/bootstrap/js/dist/scrollspy.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/vendor/twbs/bootstrap/js/dist/scrollspy.js b/vendor/twbs/bootstrap/js/dist/scrollspy.js
index 5c97494bf..d097b8f1c 100644
--- a/vendor/twbs/bootstrap/js/dist/scrollspy.js
+++ b/vendor/twbs/bootstrap/js/dist/scrollspy.js
@@ -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);
}
}