mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
use the proper selector
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user