Commit d85e6af9 authored by Mark Otto's avatar Mark Otto

Merge branch 'master' into derp

Conflicts:
	docs/_includes/components/alerts.html
	docs/javascript/dropdowns.md
parents fecbaca9 2c540b7e
......@@ -130,12 +130,13 @@ title: Dropdowns
</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
</button>
<a id="dLabel" data-target="#" href="http://example.com" type="button" data-toggle="dropdown">
Dropdown trigger
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
...
......
Markdown is supported
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