diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-07-30 08:56:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 08:56:36 +0300 |
commit | 23fd488c380c347a3d0121a49b6285bdd65418a2 (patch) | |
tree | b22bc59c0598499c429ea9fa32eb01d5b3f35cad /site | |
parent | 742269a73494300c149ca916328f3762cae616cc (diff) |
Add missing newlines around fenced codeblocks (#34630)
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/5.0/components/alerts.md | 1 | ||||
-rw-r--r-- | site/content/docs/5.0/components/modal.md | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/site/content/docs/5.0/components/alerts.md b/site/content/docs/5.0/components/alerts.md index 3389763239..1df07983e0 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. diff --git a/site/content/docs/5.0/components/modal.md b/site/content/docs/5.0/components/modal.md index 56fad0297d..7b8902820f 100644 --- a/site/content/docs/5.0/components/modal.md +++ b/site/content/docs/5.0/components/modal.md @@ -838,6 +838,7 @@ Activate a modal without writing JavaScript. Set `data-bs-toggle="modal"` on a c ```html <button type="button" data-bs-toggle="modal" data-bs-target="#myModal">Launch modal</button> ``` + #### Dismiss {{% js-dismiss "modal" %}} |