diff options
Diffstat (limited to 'docs/javascript/alerts.md')
| -rw-r--r-- | docs/javascript/alerts.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/javascript/alerts.md b/docs/javascript/alerts.md index 4ab4abb80..bbe2eeab4 100644 --- a/docs/javascript/alerts.md +++ b/docs/javascript/alerts.md @@ -17,6 +17,8 @@ Add dismiss functionality to all alert messages with this plugin. </div> {% endexample %} +When using a `.close` button, it must be the first child of the `.alert-dismissible` and no text content may come before it in the markup. + {% example html %} <div class="alert alert-danger alert-dismissible fade in" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
