1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 21:49:09 +01:00

use the proper selector

This commit is contained in:
Mark Otto 2013-03-14 18:53:46 -07:00
parent b5eca07be1
commit 3cd6d00cc4

View File

@ -554,7 +554,7 @@ $('.dropdown-toggle').dropdown()
<h3>Via JavaScript</h3>
<p>Call the scrollspy via JavaScript:</p>
{% highlight js linenos %}
$('#navbar').scrollspy()
$('.navbar').scrollspy()
{% endhighlight %}
<div class="alert alert-info">