]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #14132: add .alert-dismissible to docs examples
authorMark Otto <otto@github.com>
Sun, 13 Jul 2014 00:51:57 +0000 (17:51 -0700)
committerMark Otto <otto@github.com>
Sun, 13 Jul 2014 00:51:57 +0000 (17:51 -0700)
docs/_includes/js/alerts.html

index 3513015335e2b411237f37981f0cdf223dbf1e1d..e9cb8c871b22b2c22ae40693dca411a4aac864db 100644 (file)
@@ -4,14 +4,14 @@
   <h2 id="alerts-examples">Example alerts</h2>
   <p>Add dismiss functionality to all alert messages with this plugin.</p>
   <div class="bs-example">
-    <div class="alert alert-warning fade in" role="alert">
+    <div class="alert alert-warning alert-dismissible fade in" role="alert">
       <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
       <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
     </div>
   </div><!-- /example -->
 
   <div class="bs-example">
-    <div class="alert alert-danger fade in" role="alert">
+    <div class="alert alert-danger alert-dismissible fade in" role="alert">
       <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
       <h4>Oh snap! You got an error!</h4>
       <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>