aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/components/alerts.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-07-30 08:42:36 +0300
committerXhmikosR <[email protected]>2021-07-30 08:42:36 +0300
commitcdae0fab4ce8b80043f233a13811333e34098e48 (patch)
tree8fbe3d3707dce937e32582317024d374446da5a6 /site/content/docs/5.0/components/alerts.md
parentd42755cede5ebf0fd839fc994fda00e59f353bac (diff)
downloadbootstrap-main-xmr-markdownlint.tar.xz
bootstrap-main-xmr-markdownlint.zip
Add missing newlines around fenced codeblocksmain-xmr-markdownlint
Diffstat (limited to 'site/content/docs/5.0/components/alerts.md')
-rw-r--r--site/content/docs/5.0/components/alerts.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/content/docs/5.0/components/alerts.md b/site/content/docs/5.0/components/alerts.md
index 338976323..1df07983e 100644
--- a/site/content/docs/5.0/components/alerts.md
+++ b/site/content/docs/5.0/components/alerts.md
@@ -196,6 +196,7 @@ var alerts = [].slice.call(alertList).map(function (element) {
return new bootstrap.Alert(element)
})
```
+
{{< callout info >}}
For the sole purpose of dismissing an alert, it isn't necessary to initialize the component manually via the JS API. By making use of `data-bs-dismiss="alert"`, the component will be initialized automatically and properly dismissed.