]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Clarify JS bundle docs one more time (#32105)
authorMark Otto <markd.otto@gmail.com>
Tue, 10 Nov 2020 07:35:40 +0000 (23:35 -0800)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 07:35:40 +0000 (09:35 +0200)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
site/content/docs/5.0/getting-started/introduction.md

index ed04c98d6c871257769c11313b1fc6ba5e16ac46..93ae714560923fb57955b9ddfc00a2bad5981df0 100644 (file)
@@ -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>