aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/alerts.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-12 10:06:07 -0800
committerChris Rebert <[email protected]>2014-11-12 10:06:07 -0800
commit84dcd226df93e604e7e9aa34692744d630250920 (patch)
treef0da2579c9934b08941e6321ca6e7fa1d0a72319 /docs/_includes/js/alerts.html
parent9a7e365c2c4360335d25246dac11afb1f577210a (diff)
parent1211a8155e9357ddd747f7ecba800e460e72465d (diff)
downloadbootstrap-84dcd226df93e604e7e9aa34692744d630250920.tar.xz
bootstrap-84dcd226df93e604e7e9aa34692744d630250920.zip
Merge pull request #15094 from twbs/js-navs
JS docs: add Options, Methods, Events subsections to nav sidebar
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 7f539092f..f2e70fa01 100644
--- a/docs/_includes/js/alerts.html
+++ b/docs/_includes/js/alerts.html
@@ -35,7 +35,7 @@
<p>To have your alerts use animation when closing, make sure they have the <code>.fade</code> and <code>.in</code> classes already applied to them.</p>
- <h3>Methods</h3>
+ <h3 id="alerts-methods">Methods</h3>
<h4>$().alert()</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>
@@ -44,7 +44,7 @@
<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>
- <h3>Events</h3>
+ <h3 id="alerts-events">Events</h3>
<p>Bootstrap's alert plugin exposes a few events for hooking into alert functionality.</p>
<div class="table-responsive">
<table class="table table-bordered table-striped">