From 89f2c5c5c04022e2e6381d361c66395d99c570d5 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 5 May 2015 15:02:07 -0700 Subject: [PATCH] Document that $(...).button('reset') is async. Closes #16362. [skip sauce] --- docs/_includes/js/buttons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.

-- 2.47.2