Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Feb 3, 2014
1 parent e9212e8 commit 27e080d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/javascript.html
Expand Up @@ -548,6 +548,10 @@ <h3>Via JavaScript</h3>
{% highlight js %}
$('.dropdown-toggle').dropdown()
{% endhighlight %}
<div class="bs-callout bs-callout-info">
<h4><code>data-toggle="dropdown"</code> still required</h4>
<p>Regardless of whether you call your dropdown via JavaScript or instead use the data-api, <code>data-toggle="dropdown"</code> is always required to be present on the dropdown's trigger element.</p>
</div>

<h3>Options</h3>
<p><em>None</em></p>
Expand Down

0 comments on commit 27e080d

Please sign in to comment.