diff --git a/javascript/index.html b/javascript/index.html index 227515b8a..9fcee2260 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -1497,11 +1497,10 @@
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.
Makes an alert listen for click events on descendant elements which have the data-dismiss="alert" attribute. (Not necessary when using the data-api's auto-initialization.)
Closes an alert.
-$(".alert").alert('close')Closes an alert by removing it from the DOM. If the .fade and .in classes are present on the element, the alert will fade out before it is removed.