aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-03-14 18:53:46 -0700
committerMark Otto <[email protected]>2013-03-14 18:53:46 -0700
commit3cd6d00cc42c94167d03a56122fbf93d8e1130b0 (patch)
tree821480649646c2907103e933a2839e85f06642c2 /docs
parentb5eca07be1fcb7cbfc4108d409f826e93af706cc (diff)
downloadbootstrap-3cd6d00cc42c94167d03a56122fbf93d8e1130b0.tar.xz
bootstrap-3cd6d00cc42c94167d03a56122fbf93d8e1130b0.zip
use the proper selector
Diffstat (limited to 'docs')
-rw-r--r--docs/javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 424ee2448..bcecdce46 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -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">