aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJulian Thilo <[email protected]>2014-01-20 23:36:52 +0100
committerJulian Thilo <[email protected]>2014-01-20 23:36:52 +0100
commit4a36ecaac64dea84be85b4876fc3c8d20d87f8e8 (patch)
treee0951ea20dc618524b87284bbf992493c0ae1e1c /docs/javascript.html
parent14baf4ef27e319990e66239b4a7639890f1cbe81 (diff)
downloadbootstrap-4a36ecaac64dea84be85b4876fc3c8d20d87f8e8.tar.xz
bootstrap-4a36ecaac64dea84be85b4876fc3c8d20d87f8e8.zip
fix #12314
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index bdb102158..7d41a0378 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -102,6 +102,10 @@ $('#myModal').on('show.bs.modal', function (e) {
<h4>Overlapping modals not supported</h4>
<p>Be sure not to open a modal while another is still visible. Showing more than one modal at a time requires custom code.</p>
</div>
+ <div class="bs-callout bs-callout-warning" id="callout-modal-markup-placement">
+ <h4>Modal markup placement</h4>
+ <p>Always try to place a modal's HTML code in a top-level position in your document to avoid other components affecting the modal's appearance and/or functionality.</p>
+ </div>
<div class="bs-callout bs-callout-warning">
<h4>Mobile device caveats</h4>
<p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p>