mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Move placement of ID in docs example for dropdowns
The ID specified by an href or data-target attribute should match the li.dropdown, not the ul.dropdown-menu
This commit is contained in:
parent
373a54187e
commit
c3625ebb23
@ -489,12 +489,12 @@ $('#myModal').on('hidden', function () {
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="nav pills">
|
||||
<li class="active"><a href="#">Regular link</a></li>
|
||||
<li class="dropdown">
|
||||
<li class="dropdown" id="menu1">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#menu1">
|
||||
Dropdown
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul id="menu1" class="dropdown-menu">
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">Action</a></li>
|
||||
<li><a href="#">Another action</a></li>
|
||||
<li><a href="#">Something else here</a></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user