Commit 3cd6d00c authored by Mark Otto's avatar Mark Otto
Browse files

use the proper selector

parent b5eca07b
Showing with 1 addition and 1 deletion
+1 -1
...@@ -554,7 +554,7 @@ $('.dropdown-toggle').dropdown() ...@@ -554,7 +554,7 @@ $('.dropdown-toggle').dropdown()
<h3>Via JavaScript</h3> <h3>Via JavaScript</h3>
<p>Call the scrollspy via JavaScript:</p> <p>Call the scrollspy via JavaScript:</p>
{% highlight js linenos %} {% highlight js linenos %}
$('#navbar').scrollspy() $('.navbar').scrollspy()
{% endhighlight %} {% endhighlight %}
<div class="alert alert-info"> <div class="alert alert-info">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment