mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-16 02:20:59 +00:00
use the proper selector
This commit is contained in:
parent
b5eca07be1
commit
3cd6d00cc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue