diff options
| author | Jacob Thornton <[email protected]> | 2012-01-08 14:54:36 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-08 14:54:36 -0800 |
| commit | 6e8a3bba32312cb13cf70acca0575ff14651437e (patch) | |
| tree | 70670a46d5dc40e0084be95df7ac7206b446e9dc /docs | |
| parent | aa0c4acd80562645ae85ef9a76f6b45e778d7acd (diff) | |
| download | bootstrap-6e8a3bba32312cb13cf70acca0575ff14651437e.tar.xz bootstrap-6e8a3bba32312cb13cf70acca0575ff14651437e.zip | |
add note about firefox persisting disabled state on buttons
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/javascript.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index f9877dc02..76b5edb87 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -811,6 +811,9 @@ $('#my-alert').bind('closed', function () { <p>Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>. </p> <pre class="prettyprint linenums"><button class="btn" data-loading-text="loading stuff..." >...</button></pre> + <p> + <span class="label notice">Notice</span> Firefox persists the disabled state across page loads. A workaround for this is to use: <code>autocomplete="off"</code>. More info can be found <a href="https://github.com/twitter/bootstrap/issues/793">here</a>. + </p> <h4>$().button('reset')</h4> <p>Resets button state - swaps text to original text.</p> <h4>$().button(string)</h4> |
