aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2014-04-29 20:52:35 +0100
committerPatrick H. Lauke <[email protected]>2014-04-29 20:52:35 +0100
commit7026c9626aa16a9b9e225f49e9ca95fddd49f829 (patch)
tree0c0ee5a67172611401c2233ae92ad5370c885342 /docs/_includes
parentbde5f1fe9f837cce036821be5aaf6c40e19a8097 (diff)
downloadbootstrap-7026c9626aa16a9b9e225f49e9ca95fddd49f829.tar.xz
bootstrap-7026c9626aa16a9b9e225f49e9ca95fddd49f829.zip
Remove sr-only from components/dropdowns example
Assuming sr-only is used in the actual live code so that the menu can be shown open already ... but having sr-only in the highlighted example code itself is confusing/misleading. Also, change the text for the button from "Dropdown" to "Dropdown trigger" for clarity (and it then matches http://getbootstrap.com/javascript/#dropdowns)
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/components/dropdowns.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/components/dropdowns.html b/docs/_includes/components/dropdowns.html
index 6e44c45ba..f4494b8a3 100644
--- a/docs/_includes/components/dropdowns.html
+++ b/docs/_includes/components/dropdowns.html
@@ -8,7 +8,7 @@
<div class="bs-example">
<div class="dropdown clearfix">
<button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu1" data-toggle="dropdown">
- Dropdown
+ Dropdown trigger
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
@@ -22,8 +22,8 @@
</div><!-- /example -->
{% highlight html %}
<div class="dropdown">
- <button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu1" data-toggle="dropdown">
- Dropdown
+ <button class="btn dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
+ Dropdown trigger
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">