From: Chris Rebert Date: Tue, 5 May 2015 22:02:07 +0000 (-0700) Subject: Document that $(...).button('reset') is async. X-Git-Tag: v3.3.5~51^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89f2c5c5c04022e2e6381d361c66395d99c570d5;p=thirdparty%2Fbootstrap.git Document that $(...).button('reset') is async. Closes #16362. [skip sauce] --- diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index bd4644b3c8..55009dee2f 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -120,7 +120,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)

Swaps text to any data defined text state.