From afeb6d77ec06c4250bddb2eb927e3e04fc120d8d Mon Sep 17 00:00:00 2001 From: Federico Zivolo Date: Thu, 31 Aug 2017 16:12:32 +0200 Subject: [PATCH] docs: minor fixes and GA update --- _includes/header.html | 12 +++++++----- docs/4.0/components/dropdowns.md | 2 +- docs/4.0/components/popovers.md | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 4f3e51c6..7add60f0 100755 --- a/_includes/header.html +++ b/_includes/header.html @@ -29,10 +29,12 @@ diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index 6ebce5f0..9468b550 100755 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -10,7 +10,7 @@ toc: true Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision.](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/) -Dropdowns are built on a third party library, [Popper.js](https://popper.js.org), which provides dynamic positioning and viewport detection. Be sure to include [popper.min.js](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js) before Bootstrap's JavaScript. +Dropdowns are built on a third party library, [Popper.js](https://popper.js.org), which provides dynamic positioning and viewport detection. Be sure to include [popper.min.js]({{ site.cdn.popper }}) before Bootstrap's JavaScript. If you're building our JS from source, it [requires `util.js`]({{ site.baseurl }}/docs/getting-started/javascript/#util). diff --git a/docs/4.0/components/popovers.md b/docs/4.0/components/popovers.md index 2a4b5bd0..dae8e3b5 100755 --- a/docs/4.0/components/popovers.md +++ b/docs/4.0/components/popovers.md @@ -11,7 +11,7 @@ toc: true Things to know when using the popover plugin: -- Popovers rely on the 3rd party library [Popper.js](https://popper.js.org) for positioning. You must include [popper.min.js](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js) before bootstrap.js in order for popovers to work! +- Popovers rely on the 3rd party library [Popper.js](https://popper.js.org) for positioning. You must include [popper.min.js]({{ site.cdn.popper }}) before bootstrap.js in order for popovers to work! - Popovers require the [tooltip plugin]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/tooltips/) as a dependency. - If building our JS from source, it [requires `util.js`]({{ site.baseurl }}/docs/getting-started/javascript/#util). - Popovers are opt-in for performance reasons, so **you must initialize them yourself**.