aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index a46813ad8..63a51dc43 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -505,7 +505,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
</div>
</section>
- <!-- Tips
+ <!-- Twipsy
================================================== -->
<section id="twipsy">
@@ -799,6 +799,9 @@ $('#my-alert').bind('closed', function () {
<p>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 <code>data-loading-text</code>.
</p>
<pre class="prettyprint linenums">&lt;button class="btn" data-loading-text="loading stuff..." &gt;...&lt;/button&gt;</pre>
+ <p>
+ <span class="label notice">Notice</span> Firefox persists the disabled state across page loads. A workaround for this is to use: <code>autocomplete="off"</code>. More info can be found <a href="https://github.com/twitter/bootstrap/issues/793">here</a>.
+ </p>
<h4>$().button('reset')</h4>
<p>Resets button state - swaps text to original text.</p>
<h4>$().button(string)</h4>