From 6e8a3bba32312cb13cf70acca0575ff14651437e Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 8 Jan 2012 14:54:36 -0800 Subject: add note about firefox persisting disabled state on buttons --- docs/javascript.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/javascript.html b/docs/javascript.html index f9877dc02..76b5edb87 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -811,6 +811,9 @@ $('#my-alert').bind('closed', function () {

Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute data-loading-text.

<button class="btn" data-loading-text="loading stuff..." >...</button>
+

+ Notice Firefox persists the disabled state across page loads. A workaround for this is to use: autocomplete="off". More info can be found here. +

$().button('reset')

Resets button state - swaps text to original text.

$().button(string)

-- cgit v1.2.3 From dbe5e666af51a4d85923c1a7754da1c929dfc249 Mon Sep 17 00:00:00 2001 From: Maik Schreiber Date: Mon, 9 Jan 2012 00:02:13 +0100 Subject: fix typo --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/components.html b/docs/components.html index 0c70ef168..104bedf54 100644 --- a/docs/components.html +++ b/docs/components.html @@ -512,7 +512,7 @@ </div> </div> -

To make the navbar fixed, swamp the .navbar-static class for .navbar-fixed. In your CSS, you will also need to account for the overlap it causes by adding padding-top: 40px; to your <body>.

+

To make the navbar fixed, swap the .navbar-static class for .navbar-fixed. In your CSS, you will also need to account for the overlap it causes by adding padding-top: 40px; to your <body>.

 <div class="navbar navbar-fixed">
   ...
-- 
cgit v1.2.3


From 7aca72322effb717804af8348d3b58cfa2cbe000 Mon Sep 17 00:00:00 2001
From: Jacob Thornton 
Date: Sun, 8 Jan 2012 15:12:34 -0800
Subject: move hover state out of timeout duh

---
 docs/javascript.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'docs')

diff --git a/docs/javascript.html b/docs/javascript.html
index 76b5edb87..f7980d86b 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -517,7 +517,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
       
     
 
-    
 
     
-- cgit v1.2.3