]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Document that $(...).button('reset') is async. 16430/head
authorChris Rebert <code@rebertia.com>
Tue, 5 May 2015 22:02:07 +0000 (15:02 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 5 May 2015 22:03:12 +0000 (15:03 -0700)
Closes #16362.
[skip sauce]

docs/_includes/js/buttons.html

index bd4644b3c87d9261b11b710231c30c1160a40668..55009dee2fc975f447b4f7a929de2f6a7b4e4648 100644 (file)
   <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>