aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/buttons.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_includes/js/buttons.html')
-rw-r--r--docs/_includes/js/buttons.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html
index 44588b5b3..83bf0bfaa 100644
--- a/docs/_includes/js/buttons.html
+++ b/docs/_includes/js/buttons.html
@@ -60,7 +60,7 @@
<h4>Visual checked state only updated on click</h4>
<p>If the checked state of a checkbox button is updated without firing a <code>click</code> event on the button (e.g. via <code>&lt;input type="reset"&gt;</code> or via setting the <code>checked</code> property of the input), you will need to toggle the <code>.active</code> class on the input's <code>label</code> yourself.</p>
</div>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="buttons-checkbox">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
@@ -87,7 +87,7 @@
</div>
{% endhighlight %}
- <div class="bs-example">
+ <div class="bs-example" data-example-id="buttons-radio">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)