]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
typos
authorMark Otto <otto@github.com>
Sun, 13 Jul 2014 07:08:25 +0000 (00:08 -0700)
committerMark Otto <otto@github.com>
Sun, 13 Jul 2014 07:08:25 +0000 (00:08 -0700)
docs/_includes/js/dropdowns.html

index 6311f04eb7520d13a438be3a55850541e4e03b57..2cbbf85e1983638a375898d99ed2f059376986dc 100644 (file)
   </ul>
 </div>
 {% endhighlight %}
-  <p>To keep URLs intact, use the <code>data-target</code> attribute instead of <code>href="#"</code>.</p>
+  <p>To keep URLs intact with link buttons, use the <code>data-target</code> attribute instead of <code>href="#"</code>.</p>
 {% highlight html %}
 <div class="dropdown">
-  <button id="dLabel" type="button" data-toggle="dropdown">Dropdown trigger</button>
-    Dropdown
+  <a id="dLabel" data-target="#" href="http://example.com" type="button" data-toggle="dropdown">
+    Dropdown trigger
     <span class="caret"></span>
-  </button>
+  </a>
 
   <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
     ...