aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/dropdowns.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html
index 6311f04eb..2cbbf85e1 100644
--- a/docs/_includes/js/dropdowns.html
+++ b/docs/_includes/js/dropdowns.html
@@ -131,13 +131,13 @@
</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">
...