aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-12-08 12:17:46 -0800
committerMark Otto <[email protected]>2012-12-08 12:17:46 -0800
commitb9292ff90ca90e2df70744d33195993fddf39b3d (patch)
tree49c27647eb069f19c0dd8b9ebfa612b53471b67c /docs/javascript.html
parent820a3b27b6cfd320584be5a8e1652c7dff9771e4 (diff)
parent3bd9a26c01d6740d0b3a7aaad94ac53df3920c8c (diff)
downloadbootstrap-b9292ff90ca90e2df70744d33195993fddf39b3d.tar.xz
bootstrap-b9292ff90ca90e2df70744d33195993fddf39b3d.zip
Merge pull request #6165 from Quy/2.2.2-wip
Apply code tag to data attribute on javascript page
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 9d1aec49d..35327319a 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1132,7 +1132,7 @@ $('#my-alert').bind('closed', function () {
<p>Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p>
<h4>Stateful</h4>
- <p>Add data-loading-text="Loading..." to use a loading state on a button.</p>
+ <p>Add <code>data-loading-text="Loading..."</code> to use a loading state on a button.</p>
<div class="bs-docs-example" style="padding-bottom: 24px;">
<button type="button" id="fat-btn" data-loading-text="loading..." class="btn btn-primary">
Loading state
@@ -1141,14 +1141,14 @@ $('#my-alert').bind('closed', function () {
<pre class="prettyprint linenums">&lt;button type="button" class="btn btn-primary" data-loading-text="Loading..."&gt;Loading state&lt;/button&gt;</pre>
<h4>Single toggle</h4>
- <p>Add data-toggle="button" to activate toggling on a single button.</p>
+ <p>Add <code>data-toggle="button"</code> to activate toggling on a single button.</p>
<div class="bs-docs-example" style="padding-bottom: 24px;">
<button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>
</div>
<pre class="prettyprint linenums">&lt;button type="button" class="btn btn-primary" data-toggle="button"&gt;Single Toggle&lt;/button&gt;</pre>
<h4>Checkbox</h4>
- <p>Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.</p>
+ <p>Add <code>data-toggle="buttons-checkbox"</code> for checkbox style toggling on btn-group.</p>
<div class="bs-docs-example" style="padding-bottom: 24px;">
<div class="btn-group" data-toggle="buttons-checkbox">
<button type="button" class="btn btn-primary">Left</button>
@@ -1165,7 +1165,7 @@ $('#my-alert').bind('closed', function () {
</pre>
<h4>Radio</h4>
- <p>Add data-toggle="buttons-radio" for radio style toggling on btn-group.</p>
+ <p>Add <code>data-toggle="buttons-radio"</code> for radio style toggling on btn-group.</p>
<div class="bs-docs-example" style="padding-bottom: 24px;">
<div class="btn-group" data-toggle="buttons-radio">
<button type="button" class="btn btn-primary">Left</button>