From: Chris Gunther Date: Sun, 22 Jan 2012 16:46:44 +0000 (-0500) Subject: Move placement of ID in docs example for dropdowns X-Git-Tag: v2.0.0~6^2~249^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1104%2Fhead;p=thirdparty%2Fbootstrap.git 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 --- diff --git a/docs/javascript.html b/docs/javascript.html index 7f589de4c2..9c7b217798 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -489,12 +489,12 @@ $('#myModal').on('hidden', function () {
 <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>