mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fix #12527
This commit is contained in:
parent
e9212e8ab7
commit
27e080df4b
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user