diff options
| author | Mark Otto <[email protected]> | 2012-02-05 01:26:44 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-05 01:26:44 -0800 |
| commit | 9b5b8460b4e6d5e30357aaddbef5425a6150b0bf (patch) | |
| tree | 84d7473e304829666cce645b3714b3fa37753262 /docs/javascript.html | |
| parent | 2f42f35c69da66709247c2830935479dc97061a4 (diff) | |
| parent | f922a0800b4ec46fe3aa1e31427308954e86940e (diff) | |
| download | bootstrap-9b5b8460b4e6d5e30357aaddbef5425a6150b0bf.tar.xz bootstrap-9b5b8460b4e6d5e30357aaddbef5425a6150b0bf.zip | |
Merge branch 'noahblon-master' into 2.0.1-wip
Conflicts:
docs/assets/bootstrap.zip
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 5d505eb4f..e3e274b2f 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -923,7 +923,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <hr> <h2>Using bootstrap-alerts.js</h2> <p>Enable dismissal of an alert via javascript:</p> - <pre class="prettyprint linenums">$(".alert-message").alert()</pre> + <pre class="prettyprint linenums">$(".alert").alert()</pre> <h3>Markup</h3> <p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p> <pre class="prettyprint linenums"><a class="close" data-dismiss="alert" href="#">&times;</a></pre> @@ -932,7 +932,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p> <h4>.alert('close')</h4> <p>Closes an alert.</p> - <pre class="prettyprint linenums">$(".alert-message").alert('close')</pre> + <pre class="prettyprint linenums">$(".alert").alert('close')</pre> <h3>Events</h3> <p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p> <table class="table table-bordered table-striped"> |
