Commit d85e6af9 authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch 'master' into derp

Conflicts:
	docs/_includes/components/alerts.html
	docs/javascript/dropdowns.md
parents fecbaca9 2c540b7e
Showing with 5 additions and 4 deletions
+5 -4
...@@ -130,12 +130,13 @@ title: Dropdowns ...@@ -130,12 +130,13 @@ title: Dropdowns
</ul> </ul>
</div> </div>
{% endhighlight %} {% 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 %} {% highlight html %}
<div class="dropdown"> <div class="dropdown">
<button id="dLabel" type="button" data-toggle="dropdown">Dropdown trigger</button> <a id="dLabel" data-target="#" href="http://example.com" type="button" data-toggle="dropdown">
Dropdown Dropdown trigger
</button> <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
... ...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment