aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/buttons.html
diff options
context:
space:
mode:
authorSteven Black <[email protected]>2015-02-25 04:00:37 +0200
committerXhmikosR <[email protected]>2015-03-03 18:22:09 +0200
commit457885075f8fa004f3a190efdcf381af218e1bb7 (patch)
tree2bca5372ef834b621c63a3af1ed4e84d1bf7ddda /docs/_includes/js/buttons.html
parent420a8088a4086cf06d930070404531cba8db8a8d (diff)
downloadbootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.tar.xz
bootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.zip
Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
Diffstat (limited to 'docs/_includes/js/buttons.html')
-rw-r--r--docs/_includes/js/buttons.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html
index 83bf0bfaa..827906cd8 100644
--- a/docs/_includes/js/buttons.html
+++ b/docs/_includes/js/buttons.html
@@ -115,15 +115,15 @@
{% endhighlight %}
<h2 id="buttons-methods">Methods</h2>
-
- <h4>$().button('toggle')</h4>
+ <h4><code>$().button('toggle')</code></h4>
<p>Toggles push state. Gives the button the appearance that it has been activated.</p>
- <h4>$().button('reset')</h4>
+ <h4><code>$().button('reset')</code></h4>
<p>Resets button state - swaps text to original text.</p>
- <h4>$().button(string)</h4>
+ <h4><code>$().button(string)</code></h4>
<p>Swaps text to any data defined text state.</p>
+
{% highlight html %}
<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary" autocomplete="off">
...