Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-07-19 18:43:58 +0300
committerGitHub <noreply@github.com>2022-07-19 18:43:58 +0300
commitedf9c40956d19e6ab3f9151bfe0dfac6be06fa21 (patch)
treeaa08e0842ee3260dda2a5eddc52d346bdc4c0508 /js/dist/scrollspy.js
parentf451b4161e4e499f5d1b743802302e6b19a5dc4c (diff)
Release v5.2.0 (#36768)v5.2.0
* Bump version to 5.2.0 * Dist * Update masthead.html
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r--js/dist/scrollspy.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js
index b5aea29303..1cb5ee113c 100644
--- a/js/dist/scrollspy.js
+++ b/js/dist/scrollspy.js
@@ -1,5 +1,5 @@
/*!
- * Bootstrap scrollspy.js v5.2.0-beta1 (https://getbootstrap.com/)
+ * Bootstrap scrollspy.js v5.2.0 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -17,7 +17,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.2.0-beta1): scrollspy.js
+ * Bootstrap (v5.2.0): scrollspy.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -137,7 +137,8 @@
if (root.scrollTo) {
root.scrollTo({
- top: height
+ top: height,
+ behavior: 'smooth'
});
return;
} // Chrome 60 doesn't support `scrollTo`