From 34248437c3bc7278f912c9005d3fd4877b723d83 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 19 Jun 2014 19:54:25 -0700 Subject: tweak alert per #13875 --- docs/_includes/js/buttons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/js/buttons.html') diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index 154320e48..ee5b3d71d 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -144,7 +144,7 @@ $('.btn').button()

Cross-browser compatibility

-

Firefox persists the disabled state across page loads. A workaround for this is to use autocomplete="off".

+

Firefox persists form control states across page loads. A workaround for this is to use autocomplete="off".

$().button('reset')

-- cgit v1.2.3 From 976441ac1bad923a718d9db355153954b067f01a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 18 Jul 2014 11:48:00 -0700 Subject: Document limitations of buttons JS plugin Addresses #14148. --- docs/_includes/js/buttons.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/_includes/js/buttons.html') diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index ee5b3d71d..dbacb632c 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -41,6 +41,10 @@

Pre-checked options need .active

For pre-checked options, you must add the .active class to the input's label yourself.

+
+

Visual checked state only updated on click

+

If the checked state of a checkbox button is updated without firing a click event on the button (e.g. via <input type="reset"> or via setting the checked property of the input), you will need to toggle the .active class on the input's label yourself.

+
+
+

Visual checked state only updated on click

+

If the checked state of a radio button is updated without firing a click event on the button (e.g. via <input type="reset"> or via setting the checked property of the input), you will need to toggle the .active class on the input's label yourself.

+