diff options
| author | Chris Rebert <[email protected]> | 2014-12-04 19:18:29 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-12-04 19:18:29 -0800 |
| commit | 0c5a5563b271a6a15db7452f8f4878d4bd797074 (patch) | |
| tree | 5797ffeb3d82a32395e5553e90a5adf2a7ad1980 /docs/_includes/js/buttons.html | |
| parent | ac49a0990689439be471752f6c5ea8a91256ad32 (diff) | |
| parent | 44447eeefe61dbb16cab59900c3c061d9f207fbc (diff) | |
| download | bootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.tar.xz bootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.zip | |
Merge pull request #15214 from twbs/example-ids
Give all embedded live docs examples data-example-id attrs
[skip sauce]
Diffstat (limited to 'docs/_includes/js/buttons.html')
| -rw-r--r-- | docs/_includes/js/buttons.html | 4 |
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><input type="reset"></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) |
