From 89f2c5c5c04022e2e6381d361c66395d99c570d5 Mon Sep 17 00:00:00 2001 From: Chris Rebert <code@rebertia.com> 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 @@ <p>Toggles push state. Gives the button the appearance that it has been activated.</p> <h4><code>$().button('reset')</code></h4> - <p>Resets button state - swaps text to original text.</p> + <p>Resets button state - swaps text to original text. <strong>This method is asynchronous and returns before the resetting has actually completed.</strong></p> <h4><code>$().button(string)</code></h4> <p>Swaps text to any data defined text state.</p> -- GitLab