]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix component
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 19 Aug 2012 02:33:46 +0000 (19:33 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 19 Aug 2012 02:33:46 +0000 (19:33 -0700)
docs/templates/pages/javascript.mustache

index 29cce61e6dfdcc6f70b45d5cd783156f223c8b26..b419fb3142a14d6c02787d992e68fe2cae37998f 100644 (file)
@@ -496,7 +496,7 @@ $('#myModal').on('hidden', function () {
           <h2>{{_i}}Usage{{/i}}</h2>
 
           <h3>{{_i}}Via data attributes{{/i}}</h3>
-          <p>{{_i}}To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body) and <code>data-target=".navbar"</code> to select which nav to use. You'll want to scrollspy with the <code>.nav</code> class.{{/i}}</p>
+          <p>{{_i}}To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body) and <code>data-target=".navbar"</code> to select which nav to use. You'll want to use scrollspy with a <code>.nav</code> component.{{/i}}</p>
           <pre class="prettyprint linenums">&lt;body data-spy="scroll" data-target=".navbar"&gt;...&lt;/body&gt;</pre>
 
           <h3>{{_i}}Via JavaScript{{/i}}</h3>