aboutsummaryrefslogtreecommitdiff
path: root/docs/components/buttons.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-06-18 23:56:43 -0700
committerMark Otto <[email protected]>2015-06-18 23:56:43 -0700
commit169d2a4a78776ddaa4fec774691a3c5f03aa3eda (patch)
tree997248da2a627a3ef3478dd0f8f8077267c56e22 /docs/components/buttons.md
parentdf2ca92d7704d54a15be54e5da8086712bd18680 (diff)
parent1e64692716985246f70c89bcf8d5119e17a353c0 (diff)
downloadbootstrap-169d2a4a78776ddaa4fec774691a3c5f03aa3eda.tar.xz
bootstrap-169d2a4a78776ddaa4fec774691a3c5f03aa3eda.zip
Merge branch 'master' into v4
Diffstat (limited to 'docs/components/buttons.md')
-rw-r--r--docs/components/buttons.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/components/buttons.md b/docs/components/buttons.md
index 4d2fc47be..a345dffdf 100644
--- a/docs/components/buttons.md
+++ b/docs/components/buttons.md
@@ -130,6 +130,8 @@ Do more with buttons. Control button states or create groups of buttons for more
Use JavaScript to change the text and "state" of a particular button. For the sake of this demonstration, we are using `data-loading-text` and `$().button('loading')`, but that's not the only state you can use. [Custom strings of text](#buttons-methods) can also be used with `$().button(string)`.
+**This feature is deprecated since v3.3.5 and will be removed in v4.**
+
**Heads up!** You'll likely need to work around Firefox's [persisted form control states across page loads bug](https://github.com/twbs/bootstrap/issues/793) (e.g., disabled and checked states) with `autocomplete="off"`. See [Mozilla bug #654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072) for details.
{% example html %}
@@ -199,7 +201,7 @@ Toggles push state. Gives the button the appearance that it has been activated.
#### $().button('reset')
-Resets button state—swaps text to original text.
+Resets button state—swaps text to original text. **This method is asynchronous and returns before the resetting has actually completed.**
#### $().button(string)