aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-10-22 18:03:31 -0700
committerChris Rebert <[email protected]>2014-10-22 18:05:42 -0700
commit8d806b0ae5f618065a466cdfc9853020fb72cd9d (patch)
tree7403ff34ea7f87e4cd1881391c4f7b76af876abe /docs
parent3c98dd35bafd4788d42eb3b083ef8d2defcdcf66 (diff)
downloadbootstrap-8d806b0ae5f618065a466cdfc9853020fb72cd9d.tar.xz
bootstrap-8d806b0ae5f618065a466cdfc9853020fb72cd9d.zip
Document .alert-dismissible .close restrictions; fixes #14802
[skip sauce]
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/js/alerts.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html
index e9a3120de..7f539092f 100644
--- a/docs/_includes/js/alerts.html
+++ b/docs/_includes/js/alerts.html
@@ -3,6 +3,7 @@
<h2 id="alerts-examples">Example alerts</h2>
<p>Add dismiss functionality to all alert messages with this plugin.</p>
+ <p>When using a <code>.close</code> button, it must be the first child of the <code>.alert-dismissible</code> and no text content may come before it in the markup.</p>
<div class="bs-example bs-example-standalone">
<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>