Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2021-08-10 17:55:34 +0300
committerGitHub <noreply@github.com>2021-08-10 17:55:34 +0300
commit1e5e65567049cc5a7521530fbc1149f8c35b96f9 (patch)
tree7290e5ee700ea0322bd314130a4de867157b3167 /site/content/docs
parent418fe8113ec78e3b7251322560cd2d4a5bc6b71e (diff)
Fix modal when is triggered by `bs-toggle`, to hide other open instances (#34701)
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/5.1/components/modal.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.1/components/modal.md b/site/content/docs/5.1/components/modal.md
index 7b8902820f..118dc842f1 100644
--- a/site/content/docs/5.1/components/modal.md
+++ b/site/content/docs/5.1/components/modal.md
@@ -528,7 +528,7 @@ Toggle between multiple modals with some clever placement of the `data-bs-target
Hide this modal and show the first with the button below.
</div>
<div class="modal-footer">
- <button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal" data-bs-dismiss="modal">Back to first</button>
+ <button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal">Back to first</button>
</div>
</div>
</div>