aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-12-24 14:25:18 -0800
committerMark Otto <[email protected]>2017-12-28 10:19:27 -0800
commit1171e175c0342799ae0ad6d569f9818204f0eb8e (patch)
treec84bb45c35fffc76711f64127fde5b2f4eda537c
parentd5cbe696daa64eb33a06b091819aa1f59becf3bf (diff)
downloadbootstrap-1171e175c0342799ae0ad6d569f9818204f0eb8e.tar.xz
bootstrap-1171e175c0342799ae0ad6d569f9818204f0eb8e.zip
Update JS-powered buttons docs to include single button example
Closes #25067
-rw-r--r--docs/4.0/components/buttons.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/docs/4.0/components/buttons.md b/docs/4.0/components/buttons.md
index 02feb1cb2..f7ac8e762 100644
--- a/docs/4.0/components/buttons.md
+++ b/docs/4.0/components/buttons.md
@@ -123,15 +123,9 @@ The checked state for these buttons is **only updated via `click` event** on the
Note that pre-checked buttons require you to manually add the `.active` class to the input's `<label>`.
{% example html %}
-<div class="btn-group btn-group-toggle" data-toggle="buttons">
+<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
- <input type="checkbox" checked autocomplete="off"> Active
- </label>
- <label class="btn btn-secondary">
- <input type="checkbox" autocomplete="off"> Check
- </label>
- <label class="btn btn-secondary">
- <input type="checkbox" autocomplete="off"> Check
+ <input type="checkbox" checked autocomplete="off"> Checked
</label>
</div>
{% endexample %}