aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-09-02 19:53:20 -0700
committerMark Otto <[email protected]>2013-09-02 19:53:20 -0700
commit54b75ffae314f43e5502a81df252246c3fd8056b (patch)
treefd8f285f50ab9c747dfd426e5fc1eb0eca70393a /javascript.html
parente521ee83094f5a70978cc9d879f400c3ac95369c (diff)
parentc6d51be2d8ae25f4a78902ca3391b1bc800116ae (diff)
downloadbootstrap-54b75ffae314f43e5502a81df252246c3fd8056b.tar.xz
bootstrap-54b75ffae314f43e5502a81df252246c3fd8056b.zip
Merge branch 'master' of github.com:twbs/bootstrap
Diffstat (limited to 'javascript.html')
-rw-r--r--javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html b/javascript.html
index 496480085..b317f6b03 100644
--- a/javascript.html
+++ b/javascript.html
@@ -573,7 +573,7 @@ $('#myDropdown').on('show.bs.dropdown', function () {
<h2 id="scrollspy-usage">Usage</h2>
<h3>Via data attributes</h3>
- <p>To easily add scrollspy behavior to your topbar navigation, add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the <code>&lt;body&gt;</code>. Then add the <code>data-target</code> attribute with the ID or class of the parent element of any Bootstrap <code>.nav</code> component.</p>
+ <p>To easily add scrollspy behavior to your topbar navigation, add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the <code>&lt;body&gt;</code>). Then add the <code>data-target</code> attribute with the ID or class of the parent element of any Bootstrap <code>.nav</code> component.</p>
{% highlight html %}
<body data-spy="scroll" data-target="#navbar-example">
...