aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-10-17 15:27:37 +0300
committerGitHub <[email protected]>2017-10-17 15:27:37 +0300
commit289836ef96f59366a7d2bc4e4482be48fbf2b817 (patch)
tree45ae2f6167de0fe1ca4d428d9cb1098810af5473 /docs/4.0
parentfa234e27aa88f3602d8695ccf0b66e802154246f (diff)
downloadbootstrap-289836ef96f59366a7d2bc4e4482be48fbf2b817.tar.xz
bootstrap-289836ef96f59366a7d2bc4e4482be48fbf2b817.zip
Fix typo in scrollspy.md (#24398)
Diffstat (limited to 'docs/4.0')
-rw-r--r--docs/4.0/components/scrollspy.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/scrollspy.md b/docs/4.0/components/scrollspy.md
index 7cc6873f3..75a7a92cc 100644
--- a/docs/4.0/components/scrollspy.md
+++ b/docs/4.0/components/scrollspy.md
@@ -11,7 +11,7 @@ toc: true
Scrollspy has a few requirements to function properly:
- If building our JS from source, it [requires `util.js`]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/javascript/#util).
-- It must to be used on a Bootstrap [nav component]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/navs/) or [list group]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/list-group/).
+- It must be used on a Bootstrap [nav component]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/navs/) or [list group]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/list-group/).
- Scrollspy requires `position: relative;` on the element you're spying on, usually the `<body>`.
- When spying on elements other than the `<body>`, be sure to have a `height` set and `overflow-y: scroll;` applied.
- Anchors (`<a>`) are required and must point to an element with that `id`.