]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Completion of parentheses 10364/head
authorwangsai <wangsai7885@gmail.com>
Mon, 2 Sep 2013 09:47:04 +0000 (17:47 +0800)
committerwangsai <wangsai7885@gmail.com>
Mon, 2 Sep 2013 09:47:04 +0000 (17:47 +0800)
javascript.html

index 496480085a4e735a1d5f2551c8451b71df109ddb..b317f6b035b50c23b092ce41cf235c1c38bf9bcf 100644 (file)
@@ -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">
   ...