diff options
| author | Chris Gunther <[email protected]> | 2012-01-22 11:46:44 -0500 |
|---|---|---|
| committer | Chris Gunther <[email protected]> | 2012-01-22 11:46:44 -0500 |
| commit | c3625ebb238edbfc4b352a97b964727a919b8599 (patch) | |
| tree | d7879fd784c91caa94e20d64f142a2271b0267e5 /docs/javascript.html | |
| parent | 373a54187ed5d1f5d00d725e6ef6b84d506f07a8 (diff) | |
| download | bootstrap-c3625ebb238edbfc4b352a97b964727a919b8599.tar.xz bootstrap-c3625ebb238edbfc4b352a97b964727a919b8599.zip | |
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
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 7f589de4c..9c7b21779 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -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> |
