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:
parent
b5eca07be1
commit
3cd6d00cc4
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user