aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-11-09 23:35:40 -0800
committerGitHub <[email protected]>2020-11-10 09:35:40 +0200
commitb316e38d6a99f54c777915b99b9a890ba8f45ccc (patch)
treef5047aaab2b88306c9cff29bcf4ec8a94ae46ac5
parentdf6eb9335bda4d41dafc1a48e81da32e2faeb3a4 (diff)
downloadbootstrap-b316e38d6a99f54c777915b99b9a890ba8f45ccc.tar.xz
bootstrap-b316e38d6a99f54c777915b99b9a890ba8f45ccc.zip
Clarify JS bundle docs one more time (#32105)
Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--site/content/docs/5.0/getting-started/introduction.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.0/getting-started/introduction.md b/site/content/docs/5.0/getting-started/introduction.md
index ed04c98d6..93ae71456 100644
--- a/site/content/docs/5.0/getting-started/introduction.md
+++ b/site/content/docs/5.0/getting-started/introduction.md
@@ -28,7 +28,7 @@ Many of our components require the use of JavaScript to function. Specifically,
#### Bundle
-Include everything you need in one script with our bundle. Our `bootstrap.bundle.js` and `bootstrap.bundle.min.js` include [Popper](https://popper.js.org/). For more information about what's included in Bootstrap, please see our [contents]({{< docsref "/getting-started/contents#precompiled-bootstrap" >}}) section.
+Include every Bootstrap JavaScript plugin and dependency with one of our two bundles. Both `bootstrap.bundle.js` and `bootstrap.bundle.min.js` include [Popper](https://popper.js.org/) for our tooltips and popovers. For more information about what's included in Bootstrap, please see our [contents]({{< docsref "/getting-started/contents#precompiled-bootstrap" >}}) section.
```html
<script src="{{< param "cdn.js_bundle" >}}" integrity="{{< param "cdn.js_bundle_hash" >}}" crossorigin="anonymous"></script>
@@ -36,7 +36,7 @@ Include everything you need in one script with our bundle. Our `bootstrap.bundle
#### Separate
-If you decide to go with the separate scripts solution, Popper.js must come first, and then our JavaScript plugins.
+If you decide to go with the separate scripts solution, Popper.js must come first (if you're using tooltips or popovers), and then our JavaScript plugins.
```html
<script src="{{< param "cdn.popper" >}}" integrity="{{< param "cdn.popper_hash" >}}" crossorigin="anonymous"></script>