aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorwangsai <[email protected]>2013-09-02 17:47:04 +0800
committerwangsai <[email protected]>2013-09-02 17:47:04 +0800
commitd132c48ec9cc30de867188113ecc6d94b383996b (patch)
tree1928542e6dca873c024498da3ba1ef00268e2fbb /javascript.html
parenta245c0d1cd6d82b5e1cdedd5039ba572e3b4373b (diff)
downloadbootstrap-d132c48ec9cc30de867188113ecc6d94b383996b.tar.xz
bootstrap-d132c48ec9cc30de867188113ecc6d94b383996b.zip
Completion of parentheses
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">
...