aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/alerts.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/alerts.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/alerts.html')
-rw-r--r--docs/_includes/js/alerts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html
index 7f3bf99c2..711fd6c40 100644
--- a/docs/_includes/js/alerts.html
+++ b/docs/_includes/js/alerts.html
@@ -36,10 +36,10 @@
<h3 id="alerts-methods">Methods</h3>
- <h4>$().alert()</h4>
+ <h4><code>$().alert()</code></h4>
<p>Makes an alert listen for click events on descendant elements which have the <code>data-dismiss="alert"</code> attribute. (Not necessary when using the data-api's auto-initialization.)</p>
- <h4>$().alert('close')</h4>
+ <h4><code>$().alert('close')</code></h4>
<p>Closes an alert by removing it from the DOM. If the <code>.fade</code> and <code>.in</code> classes are present on the element, the alert will fade out before it is removed.</p>