Commit 1f35b6ec authored by Chris Rebert's avatar Chris Rebert
Browse files

fix <button>s with .btn but missing accompanying .btn-*

parent bab736c7
Showing with 3 additions and 3 deletions
+3 -3
...@@ -1433,14 +1433,14 @@ $('.btn').button() ...@@ -1433,14 +1433,14 @@ $('.btn').button()
<p>You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.</p> <p>You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.</p>
</div> </div>
{% highlight html %} {% highlight html %}
<button type="button" class="btn" data-toggle="button">...</button> <button type="button" class="btn btn-primary" data-toggle="button">...</button>
{% endhighlight %} {% endhighlight %}
<h4>$().button('loading')</h4> <h4>$().button('loading')</h4>
<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>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> </p>
{% highlight html %} {% highlight html %}
<button type="button" class="btn" data-loading-text="loading stuff...">...</button> <button type="button" class="btn btn-primary" data-loading-text="loading stuff...">...</button>
{% endhighlight %} {% endhighlight %}
<div class="bs-callout bs-callout-danger"> <div class="bs-callout bs-callout-danger">
...@@ -1454,7 +1454,7 @@ $('.btn').button() ...@@ -1454,7 +1454,7 @@ $('.btn').button()
<h4>$().button(string)</h4> <h4>$().button(string)</h4>
<p>Resets button state - swaps text to any data defined text state.</p> <p>Resets button state - swaps text to any data defined text state.</p>
{% highlight html %} {% highlight html %}
<button type="button" class="btn" data-complete-text="finished!" >...</button> <button type="button" class="btn btn-primary" data-complete-text="finished!" >...</button>
<script> <script>
$('.btn').button('complete') $('.btn').button('complete')
</script> </script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment