aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/buttons.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html
index ee5b3d71d..a0801b56c 100644
--- a/docs/_includes/js/buttons.html
+++ b/docs/_includes/js/buttons.html
@@ -44,26 +44,26 @@
<div class="bs-example" style="padding-bottom: 24px;">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="checkbox" checked> Option 1 (pre-checked)
+ <input type="checkbox" autocomplete="off" checked> Option 1 (pre-checked)
</label>
<label class="btn btn-primary">
- <input type="checkbox"> Option 2
+ <input type="checkbox" autocomplete="off"> Option 2
</label>
<label class="btn btn-primary">
- <input type="checkbox"> Option 3
+ <input type="checkbox" autocomplete="off"> Option 3
</label>
</div>
</div><!-- /example -->
{% highlight html %}
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="checkbox" checked> Option 1 (pre-checked)
+ <input type="checkbox" autocomplete="off" checked> Option 1 (pre-checked)
</label>
<label class="btn btn-primary">
- <input type="checkbox"> Option 2
+ <input type="checkbox" autocomplete="off"> Option 2
</label>
<label class="btn btn-primary">
- <input type="checkbox"> Option 3
+ <input type="checkbox" autocomplete="off"> Option 3
</label>
</div>
{% endhighlight %}
@@ -77,26 +77,26 @@
<div class="bs-example" style="padding-bottom: 24px;">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="radio" name="options" id="option1" checked> Option 1 (preselected)
+ <input type="radio" name="options" id="option1" autocomplete="off" checked> Option 1 (preselected)
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option2"> Option 2
+ <input type="radio" name="options" id="option2" autocomplete="off"> Option 2
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option3"> Option 3
+ <input type="radio" name="options" id="option3" autocomplete="off"> Option 3
</label>
</div>
</div><!-- /example -->
{% highlight html %}
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="radio" name="options" id="option1" checked> Option 1 (preselected)
+ <input type="radio" name="options" id="option1" autocomplete="off" checked> Option 1 (preselected)
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option2"> Option 2
+ <input type="radio" name="options" id="option2" autocomplete="off"> Option 2
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option3"> Option 3
+ <input type="radio" name="options" id="option3" autocomplete="off"> Option 3
</label>
</div>
{% endhighlight %}
@@ -144,7 +144,7 @@ $('.btn').button()
<div class="bs-callout bs-callout-danger">
<h4>Cross-browser compatibility</h4>
- <p><a href="https://github.com/twbs/bootstrap/issues/793">Firefox persists form control states across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.</p>
+ <p><a href="https://github.com/twbs/bootstrap/issues/793">Firefox persists form control states (disabledness and checkedness) across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.</p>
</div>
<h4>$().button('reset')</h4>