aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-02-02 22:51:19 -0800
committerChris Rebert <[email protected]>2014-02-02 22:51:19 -0800
commit27e080df4b80791860624ba17d4b57608200d5e0 (patch)
tree787930411f849b934b708c8e541eb54402d8771f /docs
parente9212e8ab7fe3f0be823ae836696a397cb4f908f (diff)
downloadbootstrap-27e080df4b80791860624ba17d4b57608200d5e0.tar.xz
bootstrap-27e080df4b80791860624ba17d4b57608200d5e0.zip
fix #12527
Diffstat (limited to 'docs')
-rw-r--r--docs/javascript.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index e022767e3..8932ff295 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -548,6 +548,10 @@ $('#myModal').on('hidden.bs.modal', function (e) {
{% 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>