diff --git a/bootstrap.css b/bootstrap.css index f1a5cc7d3..c663f08ee 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Thu Sep 22 12:52:42 PDT 2011 + * Date: Tue Oct 4 15:28:53 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -173,7 +173,7 @@ textarea { /* Variables.less * Variables to customize the look and feel of Bootstrap * ----------------------------------------------------- */ -/* Variables.less +/* Mixins.less * Snippets of reusable CSS to develop faster and keep code readable * ----------------------------------------------------------------- */ /* diff --git a/docs/javascript.html b/docs/javascript.html index 2a81b3307..2891c4460 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -195,7 +195,6 @@ $('#my-modal').bind('hidden', function () { - @@ -659,6 +658,26 @@ $('#.tabs').bind('change', function (e) {
$(".alert-message").alert()
Just add a data-alert attribute to your alert messages to automatically give them close functionality.
| Name | +type | +default | +description | +
|---|---|---|---|
| selector | +string | +'.close' | +What selector to target for closing an alert. | +
Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.