aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components/scrollspy.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-10-20 10:44:03 +0300
committerGitHub <[email protected]>2017-10-20 10:44:03 +0300
commit37bfbcf117554dde04476d41b3637eabfca0610b (patch)
tree259d8cf6cc8abd1b2454e9da6fc54e80f3af3499 /docs/4.0/components/scrollspy.md
parenta89187f94d1e0c197ee24726e93b1d71417c6aed (diff)
downloadbootstrap-37bfbcf117554dde04476d41b3637eabfca0610b.tar.xz
bootstrap-37bfbcf117554dde04476d41b3637eabfca0610b.zip
Be consistent with "JS"/"JavaScript". (#24457)
Diffstat (limited to 'docs/4.0/components/scrollspy.md')
-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 75a7a92cc..ef528b0f0 100644
--- a/docs/4.0/components/scrollspy.md
+++ b/docs/4.0/components/scrollspy.md
@@ -10,7 +10,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).
+- If you're building our JavaScript from source, it [requires `util.js`]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/javascript/#util).
- 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.