Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2014-02-03 10:51:19 +0400
committerChris Rebert <code@rebertia.com>2014-02-03 10:51:19 +0400
commit27e080df4b80791860624ba17d4b57608200d5e0 (patch)
tree787930411f849b934b708c8e541eb54402d8771f /docs/javascript.html
parente9212e8ab7fe3f0be823ae836696a397cb4f908f (diff)
fix #12527
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index e022767e32..8932ff295a 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>